Middleware for expanding :metric
and :segment
'macros' in unexpanded MBQL queries.
(:metric
forms are expanded into aggregations and sometimes filter clauses, while :segment
forms are expanded
into filter clauses.)
TODO - this namespace is ancient and written with MBQL '95 in mind, e.g. it is case-sensitive. At some point this ought to be reworked to be case-insensitive and cleaned up.
Middleware for expanding `:metric` and `:segment` 'macros' in *unexpanded* MBQL queries. (`:metric` forms are expanded into aggregations and sometimes filter clauses, while `:segment` forms are expanded into filter clauses.) TODO - this namespace is ancient and written with MBQL '95 in mind, e.g. it is case-sensitive. At some point this ought to be reworked to be case-insensitive and cleaned up.
(expand-macros qp)
Middleware that looks for :metric
and :segment
macros in an unexpanded MBQL query and substitute the macros for
their contents.
Middleware that looks for `:metric` and `:segment` macros in an unexpanded MBQL query and substitute the macros for their contents.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close