The current connectable or connection. If you get a connection with with-connection or with-transaction, it
will be bound here. You can also bind this yourself to a connectable or connection, and Toucan methods called without
an explicit will connectable will use it rather than the :default connection.
The current connectable or connection. If you get a connection with [[with-connection]] or [[with-transaction]], it will be bound here. You can also bind this yourself to a connectable or connection, and Toucan methods called without an explicit will connectable will use it rather than the `:default` connection.
(connection-string-protocol connection-string)Extract the protocol part of a connection-string.
(connection-string-protocol "jdbc:postgresql:...") => "jdbc"
Extract the protocol part of a `connection-string`. (connection-string-protocol "jdbc:postgresql:...") => "jdbc"
(with-connection [connection-binding connectable] & body)(with-connection [connection-binding connectable] & body)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 |