Liking cljdoc? Tell your friends :D

toucan2.map-backend.honeysql2


*options*clj

Option override when to pass to [[honey.sql/format]].

Option override when to pass to [[honey.sql/format]].
sourceraw docstring

condition->honeysql-where-clauseclj

(condition->honeysql-where-clause k v)

Something sequential like :id [:> 5] becomes [:> :id 5]. Other stuff like :id 5 just becomes [:= :id 5].

Something sequential like `:id [:> 5]` becomes `[:> :id 5]`. Other stuff like `:id 5` just becomes `[:= :id 5]`.
sourceraw docstring

global-optionsclj

Default global options to pass to [[honey.sql/format]].

Default global options to pass to [[honey.sql/format]].
sourceraw docstring

include-default-select?clj

(include-default-select? honeysql-query)

Should we splice in the default :select clause for this honeysql-query? Only splice in the default :select if we don't have :union, :union-all, or :select-distinct in the resolved query.

Should we splice in the default `:select` clause for this `honeysql-query`? Only splice in the default `:select` if we
don't have `:union`, `:union-all`, or `:select-distinct` in the resolved query.
sourceraw docstring

optionsclj

(options)

Get combined Honey SQL options for building and compiling queries by merging global-options and *options*.

Get combined Honey SQL options for building and compiling queries by merging [[global-options]] and [[*options*]].
sourceraw docstring

table-and-aliasclj

(table-and-alias model)

Build an Honey SQL [table] or [table alias] (if the model has a toucan2.model/namespace form) for model for use in something like a :select clause.

Build an Honey SQL `[table]` or `[table alias]` (if the model has a [[toucan2.model/namespace]] form) for `model` for
use in something like a `:select` clause.
sourceraw docstring

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

× close