Liking cljdoc? Tell your friends :D

plooney81.nectar.sql.helpers


apply-if-not-emptyclj

(apply-if-not-empty sql-fn honey items)

convert-columnclj

(convert-column jsql-expr)

convert-data-typeclj

(convert-data-type data-type)

convert-order-by-itemsclj

(convert-order-by-items jsql-select)
(convert-order-by-items _jsql-select order-by-items)

convert-trim-specclj

(convert-trim-spec trim-spec)

generate-fn-paramsclj

(generate-fn-params parameters)

handle-named-paramsclj

(handle-named-params named-params)

handle-paramsclj

(handle-params jsql-function)

jsql->raw-honeyclj

(jsql->raw-honey jsql-expr)

keywordize-aliasclj

(keywordize-alias jsql)

Grabs the alias from a jsql object and converts it to a keyword

Grabs the alias from a jsql object and converts it to a keyword
raw docstring

make-inline-sql-keywordclj

(make-inline-sql-keyword string)

raw-honeyclj

(raw-honey string)

window-definition-extractionclj

(window-definition-extraction jsql-expr window-name)

Hacky way to remove the beginning portion of a window definition. Takes: rolling_window AS (PARTITION BY ...) Returns: (PARTITION BY ...)

Needed for window-item conversion when window-elements are used. Honey-sql doesn't currently support window-frame-definitions, so if we find any we just :raw everything outside of the window-name.

Hacky way to remove the beginning portion of a window definition.
Takes:   `rolling_window AS (PARTITION BY ...)`
Returns: `(PARTITION BY ...)`

Needed for window-item conversion when window-elements are used.
Honey-sql doesn't currently support window-frame-definitions, so if we find any
we just :raw everything outside of the window-name.
raw docstring

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

× close