Liking cljdoc? Tell your friends :D
Clojure only.

sturdy.sqlite.test


with-test-dbcljmacro

(with-test-db [sys-binding db-name & [opts]] & body)

Spins up an isolated, in-memory SQLite database with an anchor connection. Executes body with sys-binding bound to the system map.

opts can be a string (treated as classpath-prefix) or a map of options passed to the database factory (which can include :classpath-prefix and :builder-opts).

Spins up an isolated, in-memory SQLite database with an anchor connection.
Executes `body` with `sys-binding` bound to the system map.

`opts` can be a string (treated as `classpath-prefix`) or a map of options
passed to the database factory (which can include `:classpath-prefix` and `:builder-opts`).
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close