(data-mapper)
(data-mapper {:keys [row cache] :or {cache (HashMap.)}})
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 |
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
(cache this)
(query this pool sqlvec respond raise)
(query-one this pool sqlvec respond raise)
(pool {:keys [uri database host port user password size]})
(rs->compiled-record)
(rs->compiled-record opts)
(rs->map)
(rs->map opts)
(rs->record record)
(rs->record record opts)
(-get-parameters this)
(-get-sql this)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close