Liking cljdoc? Tell your friends :D

porsas.async


catchclj

(catch cf f)

data-mapperclj

(data-mapper)
(data-mapper {:keys [row cache] :or {cache (HashMap.)}})

Returns a DataMapper 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 [[DataMapper]] 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
raw docstring

DataMappercljprotocol

queryclj

(query this pool sqlvec)

query-oneclj

(query-one this pool sqlvec)

poolclj

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

rs->compiled-recordclj

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

rs->mapclj

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

rs->recordclj

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

SQLParamscljprotocol

-get-parametersclj

(-get-parameters this)

-get-sqlclj

(-get-sql this)

thenclj

(then cf f)

then-asyncclj

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

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

× close