Liking cljdoc? Tell your friends :D

porsas.async


catchclj

(catch cf f)
source

Contextcljprotocol

-queryclj

(-query this pool sqlvec)

-query-oneclj

(-query-one this pool sqlvec)
source

contextclj

(context)
(context {:keys [row cache] :or {cache (HashMap.)}})

Returns a Context instance from options map:

keydescription
:rowOptional function of tuple->value or a [[RowCompiler]] to convert rows into values
:cacheOptional [[java.util.Map]] instance to hold the compiled rowmappers
Returns a [[Context]] instance from options map:

| key           | description |
| --------------|-------------|
| `:row`        | Optional function of `tuple->value` or a [[RowCompiler]] to convert rows into values
| `:cache`      | Optional [[java.util.Map]] instance to hold the compiled rowmappers
sourceraw docstring

optionsclj

(options {:keys [uri database host port user password pipelining-limit size]})
source

poolclj

(pool options)
(pool vertx opts)
source

queryclj

(query connection sqlvec)
(query context connection sqlvec)
source

query-oneclj

(query-one connection sqlvec)
(query-one context connection sqlvec)
source

rs->compiled-recordclj

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

rs->mapclj

(rs->map)
(rs->map opts)
source

rs->recordclj

(rs->record record)
(rs->record record opts)
source

SQLParamscljprotocol

-get-parametersclj

(-get-parameters this)

-get-sqlclj

(-get-sql this)
source

thenclj

(then cf f)
source

then-asyncclj

(then-async cf f)
(then-async cf f executor)
source

vertxclj

(vertx)
source

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

× close