Liking cljdoc? Tell your friends :D

sqlosure.optimization


intersect-liveclj

(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.
sourceraw docstring

merge-projectclj

(merge-project q)
source

optimize-queryclj

(optimize-query q)

Takes a query and performs some optimizations.

Takes a query and performs some optimizations.
sourceraw docstring

order-alist-attribute-namesclj

(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.
sourceraw docstring

project-alist-substitute-attribute-refsclj

(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.
sourceraw docstring

push-restrictclj

(push-restrict q)
source

query->alistclj

(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.
sourceraw docstring

query->columnsclj

(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.
sourceraw docstring

remove-deadclj

(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.
sourceraw docstring

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

× close