Shared code for all drivers that use SQL under the hood.
Shared code for all drivers that use SQL under the hood.
(->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.
(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`
Represents the SQL string replace value (usually ?) and the typed parameter value
Represents the SQL string replace value (usually ?) and the typed parameter value
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close