(conn-create
{:keys [host port user pass dbname]
:or {host (or (System/getenv "DEFAULT_RT_POSTGRES_HOST") "127.0.0.1")
port (h/parse-long (or (System/getenv "DEFAULT_RT_POSTGRES_PORT")
"5432"))
user (or (System/getenv "DEFAULT_RT_POSTGRES_USER") "postgres")
pass (or (System/getenv "DEFAULT_RT_POSTGRES_PASS") "postgres")}
:as m})creates a pooled connection
creates a pooled connection
(conn-execute pool input)(conn-execute pool input execute)executes a command
executes a command
(notify-create
{:keys [host port user pass dbname]
:or {host (or (System/getenv "DEFAULT_RT_POSTGRES_HOST") "127.0.0.1")
port (h/parse-long (or (System/getenv "DEFAULT_RT_POSTGRES_PORT")
"5432"))
user (or (System/getenv "DEFAULT_RT_POSTGRES_USER") "postgres")
pass (or (System/getenv "DEFAULT_RT_POSTGRES_PASS") "postgres")}}
{:keys [channel on-close on-notify] :as m})creates a notify channel
creates a notify channel
(notify-listener {:keys [on-notify on-close]})creates a notification listener
creates a notification listener
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 |