Liking cljdoc? Tell your friends :D

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.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