(any-join-has-projection? joins)
(compile-case-else acc env rel else)
(compile-case-value acc env rel value)
(compile-case-whens acc env rel whens)
(compile-order-by acc env rel order-by)
(format-delete-query-without-params-resolution env deletable)
(format-insert-query env insertable)
(format-select-query-without-params-resolution env rel)
(format-update-query-without-params-resolution env updatable)
(get-insertable-columns insertable data)
(get-resolved-column-identifier env rel resolved-col col-def)
(make-format-query-with-params-resolution query-fn)
(register-cte! rel)
(rel-should-be-implicitely-grouped-by? {:keys [projection aliases->ids columns
joins]})
(sort-ctes ctes-acc)
(with-cte env acc cte)
(with-cte-cycle env acc cte)
(with-cte-registry! env & body)
Binds a cte-registry if it's not bound yet. Otherwise, it leaves the binding in place. This ensures that only the entry function will bind the registry, and then process it, since format-query functions can be called recursively.
Since we can ancounter an CTE anywhere in the tree, we need a registry, so we could place the CTE queries before the normal query.
Binds a *cte-registry* if it's not bound yet. Otherwise, it leaves the binding in place. This ensures that only the entry function will bind the registry, and then process it, since format-query functions can be called recursively. Since we can ancounter an CTE anywhere in the tree, we need a registry, so we could place the CTE queries before the normal query.
(with-cte-search env acc cte)
(with-ctes env acc)
(with-ctes env acc ctes-acc)
(with-distinct acc env rel)
(with-explicit-group-by acc env {:keys [group-by] :as rel})
(with-fetch acc _ rel)
(with-group-by acc env {:keys [group-by] :as rel})
(with-having acc env rel)
(with-implicit-group-by acc env rel path-prefix)
(with-insertable-column-value acc env insertable col-value)
(with-insertable-columns-and-values acc env insertable)
(with-insertable-values acc env insertable insertable-columns data)
(with-joins acc env rel)
(with-joins acc env rel path-prefix)
(with-lock acc _ rel)
(with-offset acc _ rel)
(with-on-conflict acc env insertable)
(with-on-conflict-conflict-target acc env insertable)
(with-on-conflict-updates acc env insertable)
(with-on-conflict-where acc env insertable)
(with-order-by acc env rel)
(with-projection acc env rel)
(with-projection acc env rel path-prefix)
(with-returning acc env rel)
(with-selectable-from acc env rel)
(with-updatable-from acc env updatable)
(with-updates acc env updatable)
(with-using acc env deletable)
(with-where acc env rel)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close