Hey all,
What is the simplest way to interact with Datomic in a general way? For example, I would like to see all the database names on my local dev setup, just to make sure I am not duplicating one of my backups… maybe the backup DB already exists. In this example, bin/datomic
is useless haha. It tricks you because it says datomic
. Anyways let’s ignore that. Now I found this: https://docs.datomic.com/on-prem/clojure/index.html#datomic.api/get-database-names. Exactly what I am looking for, but how do I run it? I can run a Clojure REPL, require datomic.api
and execute the get-database-names
function. That’s fine, but it’s time consuming for a quick admin task. With PostgreSQL you connect and run \dt
. That’s 2 steps instead of 3! You can even do it in 1 step with the -c
flag. Much easier in my opinion. Are there any plans to support common functionality in a higher level context, like a command line script (e.g. bin/datomic get-database-names uri
) ?
Thanks!