Liking cljdoc? Tell your friends :D

com.fulcrologic.rad.database-adapters.sql.result-set

This namespace provides some tools to work with jdbc result sets

This namespace provides some tools to work with jdbc result sets
raw docstring

as-maps-with-keysclj

(as-maps-with-keys rs opts)

A result set builder where you pass in the keys of each map in order. Useful when you know ahead of time which keys will be returned in what order.

A result set builder where you pass in the keys of each map in
order. Useful when you know ahead of time which keys will be
returned in what order.
raw docstring

as-qualified-mapsclj

(as-qualified-maps rs opts)

A result set builder, but instead of using a :label-fn and :qualifier-fn, it requires a key-fn in the sql-opts. key-fn takes a table name and column name straight from the result-set meta, and returns the fully qualified key.

A result set builder, but instead of using a `:label-fn` and
`:qualifier-fn`, it requires a `key-fn` in the sql-opts. `key-fn`
takes a table name and column name straight from the result-set
meta, and returns the fully qualified key.
raw docstring

coerce-result-sets!clj

(coerce-result-sets!)

Will extend the JDBC ReadableColumn protocol to coerce common values like vectors, dates and json objects to clojure datastructures. This function must be called in order for RAD to function properly.

Will extend the JDBC ReadableColumn protocol to coerce common
values like vectors, dates and json objects to clojure
datastructures. This function must be called in order for RAD to
function properly.
raw docstring

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

× close