Instance Method
bindPlaceholder(at:)
A function which returns an expression to be used as the placeholder for the
positionth bound parameter in a query.func bindPlaceholder(at position: Int) -> any SQLExpression
Parameters
positionIndicates which bound parameter to create a placeholder for, where the first parameter has position
1. This value is guaranteed to be greater than zero.
Discussion
The function may ignore the value of position if the syntax doesn’t require or support it.
No default is provided.
See Also
Basics
nameThe name of the dialect.identifierQuoteAn expression (usually anSQLRaw) giving the character(s) used to quote SQL identifiers, such as table and column names.literalStringQuoteAn expression (usually anSQLRaw) giving the character(s) used to quote literal string values which appear in a query, such as enumerator names.literalBoolean(_:)A function which returns an SQL expression (usually anSQLRaw) representing the given literal boolean value.literalDefaultAn expression (usually anSQLRaw) giving the syntax used to express both “use this as the default value” in a column definition and “use the default value for this column” in a value list.