Liking cljdoc? Tell your friends :D

jeesql.generate


execute-handlerclj

(execute-handler db sql-and-params)

expected-parameter-listclj

(expected-parameter-list query)

generate-query-fnclj

(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.

  • 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 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.
raw docstring

generate-varclj

(generate-var this options)
(generate-var ns this options)

in-list-parameter?clj

Check if a type triggers IN-list expansion.

Check if a type triggers IN-list expansion.
raw docstring

insert-handlerclj

(insert-handler db statement-and-params)

insert-handler-return-keysclj

(insert-handler-return-keys return-keys db [statement & params])

query-handlerclj

(query-handler row-fn db sql-and-params)

query-handler-single-valueclj

(query-handler-single-value db sql-and-params)

query-handler-streamclj

(query-handler-stream fetch-size row-fn db result-channel sql-and-params)

rewrite-query-for-jdbcclj

(rewrite-query-for-jdbc tokens initial-args)

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

× close