Liking cljdoc? Tell your friends :D

psql.copy

Streaming PostgreSQL COPY helpers backed directly by pgjdbc's CopyManager.

COPY runs on a real java.sql.Connection. The caller owns that connection and must keep it open for the complete COPY operation.

Streaming PostgreSQL COPY helpers backed directly by pgjdbc's CopyManager.

COPY runs on a real java.sql.Connection. The caller owns that connection and
must keep it open for the complete COPY operation.
raw docstring

psql.core

Allow using PostgreSQL from Clojure as effortlessly as possible by reading connection parameter defaults from PostgreSQL environment variables PGDATABASE, PGHOST, PGPORT, PGUSER and by reading password from ~/.pgpass if available.

Allow using PostgreSQL from Clojure as effortlessly as possible by reading connection parameter defaults from
PostgreSQL environment variables PGDATABASE, PGHOST, PGPORT, PGUSER and by reading password from ~/.pgpass if available.
raw docstring

psql.notify

PostgreSQL LISTEN/NOTIFY helpers backed directly by pgjdbc.

Use a dedicated open connection for listening. pgjdbc surfaces notifications only when a query is issued or get-notifications is called. A blocking poll prevents other statements from using that connection until the poll returns.

PostgreSQL LISTEN/NOTIFY helpers backed directly by pgjdbc.

Use a dedicated open connection for listening. pgjdbc surfaces notifications
only when a query is issued or get-notifications is called. A blocking poll
prevents other statements from using that connection until the poll returns.
raw docstring

psql.pgpass

Logic for matching passwords ~/.pgpass passwords to db specs.

Logic for matching passwords ~/.pgpass passwords to db specs.
raw docstring

psql.pool

Hikari based connection pool

Hikari based connection pool
raw docstring

psql.service

Resolve pgjdbc service definitions into psql-clj database specs.

Resolve pgjdbc service definitions into psql-clj database specs.
raw docstring

psql.types

Extend next.jdbc's SettableParameter and ReadableColumn protocols so that PGobject (json/jsonb/enum), SQL arrays and inet values move between Clojure data and PostgreSQL without manual wrapping.

The map->parameter / vec->parameter / num->parameter multimethods are the extension seam: companion artifacts (e.g. psql-clj-gis) add methods for their own SQL types without this namespace depending on them.

Extend next.jdbc's SettableParameter and ReadableColumn protocols so that
PGobject (json/jsonb/enum), SQL arrays and inet values move between Clojure
data and PostgreSQL without manual wrapping.

The map->parameter / vec->parameter / num->parameter multimethods are the
extension seam: companion artifacts (e.g. psql-clj-gis) add methods for their
own SQL types without this namespace depending on them.
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