(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`).
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |