Liking cljdoc? Tell your friends :D

metabase.query-processor.middleware.binning

Middleware that handles binning-strategy Field clauses. This adds a resolved-options map to every binning-strategy clause that contains the information query processors will need in order to perform binning.

Middleware that handles `binning-strategy` Field clauses. This adds a `resolved-options` map to every
`binning-strategy` clause that contains the information query processors will need in order to perform binning.
raw docstring

update-binning-strategyclj

(update-binning-strategy qp)

When a binned field is found, it might need to be updated if a relevant query criteria affects the min/max value of the binned field. This middleware looks for that criteria, then updates the related min/max values and calculates the bin-width based on the criteria values (or global min/max information).

When a binned field is found, it might need to be updated if a relevant query criteria affects the min/max value of
the binned field. This middleware looks for that criteria, then updates the related min/max values and calculates
the bin-width based on the criteria values (or global min/max information).
sourceraw docstring

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

× close