Specs for the core API of next.jdbc.
The functions from next.jdbc, next.jdbc.sql, and next.jdbc.prepare
have specs here.
Just :args are spec'd. These specs are intended to aid development
with next.jdbc by catching simple errors in calling the library.
The connectable argument is currently just any? but both
get-datasource and get-connection have stricter specs.
In addition, there is an instrument function that provides a simple
way to instrument all of the next.jdbc functions, and unstrument
to undo that.
Specs for the core API of next.jdbc. The functions from `next.jdbc`, `next.jdbc.sql`, and `next.jdbc.prepare` have specs here. Just `:args` are spec'd. These specs are intended to aid development with `next.jdbc` by catching simple errors in calling the library. The `connectable` argument is currently just `any?` but both `get-datasource` and `get-connection` have stricter specs. In addition, there is an `instrument` function that provides a simple way to instrument all of the `next.jdbc` functions, and `unstrument` to undo that.
(jdbc-url-format? url)JDBC URLs must begin with jdbc: followed by the dbtype and
a second colon. Note: clojure.java.jdbc incorrectly allowed
jdbc: to be omitted at the beginning of a JDBC URL.
JDBC URLs must begin with `jdbc:` followed by the `dbtype` and a second colon. Note: `clojure.java.jdbc` incorrectly allowed `jdbc:` to be omitted at the beginning of a JDBC URL.
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 |