(assoc:make-pool?true)))); need to make a pool or the connection will be closed before we get a chance to unCLOB-er the results during JSON serialization
;; unless this is a temp DB, we need to make a pool or the connection will be closed before we get a chance to unCLOB-er the results during JSON serialization
;; TODO - what will we do once we have CLOBS in temp DBs?
"Return a Metabase `Database.details` for H2 database defined by DATABASE-DEFINITION."
[^DatabaseDefinitiondatabase-definition]
{:db(format(if(:short-lived?database-definition)"file:%s"; for short-lived connections don't create a server thread and don't use a keep-alive connection