Liking cljdoc? Tell your friends :D

pg.common

Things needed across many namespaces.

Things needed across many namespaces.
raw docstring

pg.config

A dedicated namespace to build an instance of the Config class from a Clojure map. Apparently, this function has grown vast so it's better to keep it here.

A dedicated namespace to build an instance of the Config
class from a Clojure map. Apparently, this function has
grown vast so it's better to keep it here.
raw docstring

pg.connection-uri

A namespace to parse a connection URI string into a map of config fields.

Links:

A namespace to parse a connection URI string into
a map of config fields.

Links:
- https://jdbc.postgresql.org/documentation/use/
raw docstring

pg.execute-params

A dedicated namespace to build an instance of the ExecuteParams class from a Clojure map.

A dedicated namespace to build an instance of the
`ExecuteParams` class from a Clojure map.
raw docstring

pg.fold

Folders: objects that reduce rows one by one as they come from the network.

Folders: objects that reduce rows one by one
as they come from the network.
raw docstring

pg.jdbc

The Next.JDBC-friendly wrapper. Mimics most of the next.jdbc functions and macros.

https://github.com/seancorfield/next-jdbc/blob/develop/src/next/jdbc.clj

The Next.JDBC-friendly wrapper. Mimics most of the
`next.jdbc` functions and macros.

https://github.com/seancorfield/next-jdbc/blob/develop/src/next/jdbc.clj
raw docstring

pg.oid

A dedicated namespace with native (built-in) Postgres OID types.

A dedicated namespace with native (built-in) Postgres OID types.
raw docstring

pg.pool

A simple connection pool. Runs open connections in two data structures: a queue of free connections and a map of busy connections. The connections are taken from a tail of the queue and put back into the head.

Every time the connection is borrowed, it's check for expiration. An expired connection gets closed, and the one is produced.

Should all free connections are in use at the moment and the client is going to borrow another one, an exception is triggered.

When a connection is put back, it's checked for expiration and for the transaction status. Connections that are in the error state are closed; Connections that are in a transaction are rolled back.

A simple connection pool. Runs open connections in two
data structures: a queue of free connections and a map
of busy connections. The connections are taken from a tail
of the queue and put back into the head.

Every time the connection is borrowed, it's check for expiration.
An expired connection gets closed, and the one is produced.

Should all free connections are in use at the moment and the client
is going to borrow another one, an exception is triggered.

When a connection is put back, it's checked for expiration and for
the transaction status. Connections that are in the error state
are closed; Connections that are in a transaction are rolled back.
raw docstring

pg.ring.json

Like ring.middleware.json but faster because uses internal JSON engine instead of Cheshire.

Like `ring.middleware.json` but faster because uses
internal JSON engine instead of Cheshire.
raw docstring

pg.source

A dedicated namespace for the ISource abstraction and its implementations.

A dedicated namespace for the ISource
abstraction and its implementations.
raw docstring

pg.ssl

SSL utilities, mostly to build instances of the SSLContext class.

SSL utilities, mostly to build instances
of the `SSLContext` class.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close