Hi! What is the difference between get-conn , create-conn and empty-db ? How would you recommend creating and destroying short-lived connections to tmp databases in tests? And how to get a fresh db on every test without having to manually delete the db-file?
Set :temp? true for :kv-opts option, the file will be deleted on JVM exit.
There's with-conn for short lived connection.
Thanks 👍 with-db helps as well