(compile)
(compile {:keys [row key cache]
:or {key (unqualified-key) cache (java.util.HashMap.)}})
Returns a DataMapper
instance from options map:
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 |
:cache | Optional [[java.util.Map]] instance to hold the compiled rowmappers |
Returns a [[DataMapper]] instance from options map: | 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 | `:cache` | Optional [[java.util.Map]] instance to hold the compiled rowmappers
(cache this)
(query this connection sqlvec)
(query-one this connection sqlvec)
(rs->compiled-record)
(rs->compiled-record {:keys [start] :or {start 1}})
(-get-parameter-iterator this)
(-get-sql this)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close