(format-delete-query-without-params-resolution env deletable)
(format-select-query-without-params-resolution env rel)
(format-update-query-without-params-resolution env updatable)
(get-resolved-column-identifier env rel resolved-col col-def)
(make-format-query-with-params-resolution query-fn)
(rel-should-be-implicitely-grouped-by? {:keys [projection aliases->ids columns
joins]})
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close