Liking cljdoc? Tell your friends :D

lib.postgres.connection


*execute*clj


conn-closeclj

(conn-close conn)

closes a connection

closes a connection
raw docstring

conn-createclj

(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
raw docstring

conn-executeclj

(conn-execute pool input)
(conn-execute pool input execute)

executes a command

executes a command
raw docstring

notify-createclj

(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
raw docstring

notify-listenerclj

(notify-listener {:keys [on-notify on-close]})

creates a notification listener

creates a notification listener
raw 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