Liking cljdoc? Tell your friends :D

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

map->parametercljmultimethod

source

num->parametercljmultimethod

source

parameter-dispatch-fnclj

(parameter-dispatch-fn _ type-name)
source

pmdclj

(pmd md i)

Convert one column of ParameterMetaData to a map.

Convert one column of ParameterMetaData to a map.
sourceraw docstring

read-pg-arrayclj

(read-pg-array s)

Arrays are of the form {1,2,3}.

Arrays are of the form {1,2,3}.
sourceraw docstring

read-pg-vectorclj

(read-pg-vector s)

oidvector, int2vector, etc. are space separated lists.

oidvector, int2vector, etc. are space separated lists.
sourceraw docstring

read-pgobjectcljmultimethod

Convert a returned PGobject to a Clojure value.

Convert a returned PGobject to a Clojure value.
sourceraw docstring

rsmdclj

(rsmd md i)

Convert one column of ResultSetMetaData to a map.

Convert one column of ResultSetMetaData to a map.
sourceraw docstring

vec->parametercljmultimethod

source

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