(apply-if-not-empty sql-fn honey items)(convert-column jsql-expr)(convert-data-type data-type)(convert-order-by-items jsql-select)(convert-order-by-items _jsql-select order-by-items)(convert-trim-spec trim-spec)(generate-fn-params parameters)(handle-named-params named-params)(handle-params jsql-function)(jsql->raw-honey jsql-expr)(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
(make-inline-sql-keyword string)(raw-honey string)(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.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |