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.
(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:
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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close