(execute-handler db sql-and-params)
(expected-parameter-list query)
(generate-query-fn ns
{:keys [name docstring statement attributes] :as query}
{:keys [report-slow-queries slow-query-threshold-ms]
:as query-options})
Generate a function to run a query.
!
it will call clojure.java.jdbc/execute!
,<!
it will call clojure.java.jdbc/insert!
,clojure.java.jdbc/query
will be used.Generate a function to run a query. - If the query name ends in `!` it will call `clojure.java.jdbc/execute!`, - If the query name ends in `<!` it will call `clojure.java.jdbc/insert!`, - otherwise `clojure.java.jdbc/query` will be used.
(generate-var this options)
(generate-var ns this options)
Check if a type triggers IN-list expansion.
Check if a type triggers IN-list expansion.
(insert-handler db statement-and-params)
(insert-handler-return-keys return-keys db [statement & params])
(query-handler row-fn db sql-and-params)
(query-handler-single-value db sql-and-params)
(query-handler-stream fetch-size row-fn db result-channel sql-and-params)
(rewrite-query-for-jdbc tokens initial-args)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close