(new-db spec & [opts])
Return a new database from spec
.
Return a new database from `spec`.
(with-db [db-sym config & [opts]] & body)
Start a database component using config
bind it to db-sym
,
evaluate body
and close the database connection again.
Start a database component using `config` bind it to `db-sym`, evaluate `body` and close the database connection again.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close