Liking cljdoc? Tell your friends :D
Clojure only.

metabase.query-processor.debug

Functions for debugging QP code. Enable QP debugging by binding qp/*debug*; the debug-middlewaer function below wraps each middleware function for debugging purposes.

Functions for debugging QP code. Enable QP debugging by binding `qp/*debug*`; the `debug-middlewaer` function below
wraps each middleware function for debugging purposes.
raw docstring

debug-middlewareclj

(debug-middleware qp middleware-var)

Reducing function used to build the debugging QP pipeline. Bind qp/*debug* to use this.

This does a few things to make QP debugging easier:

  • Logs any changes in the query during preprocessing, along with the middleware that changed it
  • Validates the results of the query after each step against the MBQL schema.
Reducing function used to build the debugging QP pipeline. Bind `qp/*debug*` to use this.

This does a few things to make QP debugging easier:

*  Logs any changes in the query during preprocessing, along with the middleware that changed it
*  Validates the results of the query after each step against the MBQL schema.
sourceraw docstring

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

× close