Liking cljdoc? Tell your friends :D

metabase.query-processor.middleware.parameters

Middleware for substituting parameters in queries.

Middleware for substituting parameters in queries.
raw docstring

substitute-parametersclj

(substitute-parameters qp)

Substitute Dashboard or Card-supplied parameters in a query, replacing the param placeholers with appropriate values and/or modifiying the query as appropriate.

(e.g. a SQL query with a param like {{param}} will have that part of the query replaced with an appropriate snippet as well as any prepared statement args needed.)

Substitute Dashboard or Card-supplied parameters in a query, replacing the param placeholers
with appropriate values and/or modifiying the query as appropriate.

(e.g. a SQL query with a param like `{{param}}` will have that part of the query replaced with an appropriate
snippet as well as any prepared statement args needed.)
sourceraw docstring

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

× close