Hi, I’m trying to setup a dev-local
test fixture. In the fixture I create an in memory db but when I run dev-local/release-db
on finally
it returns nil
and when the next test runs the db still has the previous tests data in it. I’m passing the same :db-name
and :system
to both the creation and release steps. Am I misunderstanding what release-db
does?
I couldn’t find any API docs for dev-local only methods
I can gensym the db-name but I’d rather the memory be released
I’ve just gone with delete-database
for now (what is the purpose of release-db
then?)
Releasedb releases in-process resources related to the connection
You would use it in a repl to reset your state and free memory and threads without deleting data; you probably wouldn’t ever use it in a production application.
Ah ok, thanks!
Do you guys know of any graphical UI for browsing Datomic data? (apart from Datomic Console)
I’m thinking something in the style of Postico https://eggerapps.at/postico/ (for Postgres) or Sequel Pro (http://sequelpro.com) for MySQL
Homebase + #datahike are working on one here https://github.com/homebaseio/datalog-console
You can use REBL
Or if you use Datomic Analytics, lots of sql tools can work with it
Going to explore REBL, thanks!