Liking cljdoc? Tell your friends :D

porsas.core


create-queryclj

(create-query)
(create-query {:keys [row key] :or {key (unqualified-key)}})

Creates a memoizing query function accepting the following options:

keydescription
:rowOptional function of rs->value or a RowCompiler to convert rows into values
:keyOptional function of rs-meta i->key to create key for map-results
Creates a memoizing query function accepting the following options:

| key           | description |
| --------------|-------------|
| `:row`        | Optional function of `rs->value` or a [[RowCompiler]] to convert rows into values
| `:key`        | Optional function of `rs-meta i->key` to create key for map-results
sourceraw docstring

GetConnectioncljprotocol

get-connectionclj

(get-connection this)
source

qualified-keyclj

(qualified-key)
(qualified-key f)
(qualified-key ft fc)
source

queryclj

(query connection sqlvec)
(query connection sqlvec opts)

Creates and executes a query, accepting the following options:

keydescription
:rowOptional function of rs->value or a RowCompiler to convert rows into values
:keyOptional function of rs-meta i->key to create key for map-results
Creates and executes a query, accepting the following options:

| key           | description |
| --------------|-------------|
| `:row`        | Optional function of `rs->value` or a [[RowCompiler]] to convert rows into values
| `:key`        | Optional function of `rs-meta i->key` to create key for map-results
sourceraw docstring

RowCompilercljprotocol

compile-rowclj

(compile-row this cols)
source

rs->compiled-recordclj

(rs->compiled-record)
(rs->compiled-record _)
source

rs->mapclj

(rs->map)
(rs->map _)
source

rs->recordclj

(rs->record record)
source

SQLAndParamscljprotocol

get-paramsclj

(get-params this)

get-sqlclj

(get-sql this)
source

unqualified-keyclj

(unqualified-key)
(unqualified-key f)
source

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

× close