Liking cljdoc? Tell your friends :D

metabase.driver.sql

Shared code for all drivers that use SQL under the hood.

Shared code for all drivers that use SQL under the hood.
raw docstring

->prepared-substitutioncljmultimethod

(->prepared-substitution driver x)

Returns a PreparedStatementSubstitution for x and the given driver. This allows driver specific parameters and SQL replacement text (usually just ?). The param value is already prepared and ready for inlcusion in the query, such as what's needed for SQLite and timestamps.

Returns a `PreparedStatementSubstitution` for `x` and the given driver. This allows driver specific parameters and
SQL replacement text (usually just ?). The param value is already prepared and ready for inlcusion in the query,
such as what's needed for SQLite and timestamps.
sourceraw docstring

make-stmt-subsclj

(make-stmt-subs sql-string param-seq)

Inputs: [sql-string param-seq] Returns: PreparedStatementSubstitution

Create a PreparedStatementSubstitution map for sql-string and the param-seq

Inputs: [sql-string param-seq]
Returns: PreparedStatementSubstitution

Create a `PreparedStatementSubstitution` map for `sql-string` and the `param-seq`
sourceraw docstring

PreparedStatementSubstitutionclj

Represents the SQL string replace value (usually ?) and the typed parameter value

Represents the SQL string replace value (usually ?) and the typed parameter value
sourceraw docstring

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

× close