Liking cljdoc? Tell your friends :D
Clojure only.

fulcro-sql.test-helpers


with-databasecljmacro

(with-database binding & body)

Start databases for the given name-to-config bindings, started and migrate the databases, run the given body, then shut down the database.

The bindings should be pairs of sym and config

sym - Any symbol you want to bind to config - A map containing the database configuration. NOTE: :auto-migrate? will be forced to true, as will :create-drop?

Start databases for the given name-to-config bindings, started and migrate the databases, run the given body,
then shut down the database.

The `bindings` should be pairs of `sym` and `config`

`sym` - Any symbol you want to bind to
`config` - A map containing the database configuration. NOTE: :auto-migrate? will be forced to true, as will :create-drop?
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close