(intersect-live live q)
Takes a sequence of 'live' values and a query and returns the intersection of all refs in both the live-list and the rel-scheme-map of the query.
Takes a sequence of 'live' values and a query and returns the intersection of all refs in both the live-list and the rel-scheme-map of the query.
(optimize-query q)
Takes a query and performs some optimizations.
Takes a query and performs some optimizations.
(order-alist-attribute-names alist)
Takes an order query's alist and returns it's referenced attributes.
Takes an order query's alist and returns it's referenced attributes.
(project-alist-substitute-attribute-refs alist palist)
Takes an alist and a project query's alist and substitutes all of the latter's refs.
Takes an alist and a project query's alist and substitutes all of the latter's refs.
(query->alist q)
Return the rel-scheme-map of a query's query-scheme.
Return the rel-scheme-map of a query's query-scheme.
(query->columns q)
Return the rel-scheme-columns of a query's query-scheme.
Return the rel-scheme-columns of a query's query-scheme.
(remove-dead q)
Takes a query and removes all references to variables in underlying queries that are not used/unnecessary further up the query.
Takes a query and removes all references to variables in underlying queries that are not used/unnecessary further up the query.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close