(create-query)
(create-query {:keys [row key] :or {key (unqualified-key)}})
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 |
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
(query connection sqlvec)
(query connection sqlvec opts)
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 |
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
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close