(defqueries filename)
(defqueries filename options)
Defines several query functions, as defined in the given SQL file.
Each query in the file must begin with a -- name: <function-name>
marker,
followed by optional comment lines (which form the docstring), followed by
the query itself.
Defines several query functions, as defined in the given SQL file. Each query in the file must begin with a `-- name: <function-name>` marker, followed by optional comment lines (which form the docstring), followed by the query itself.
(require-sql [sql-file & {:keys [as refer]} :as require-args])
Require-like behavior for jeesql, to prevent namespace pollution. Parameter is a list of [sql-source-file-name [:as alias] [:refer [var1 var2]]] At least one of :as or :refer is required Usage: (require-sql ["sql/foo.sql" :as foo-sql :refer [some-query-fn])
Require-like behavior for jeesql, to prevent namespace pollution. Parameter is a list of [sql-source-file-name [:as alias] [:refer [var1 var2]]] At least one of :as or :refer is required Usage: (require-sql ["sql/foo.sql" :as foo-sql :refer [some-query-fn])
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close