Skip to content

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

position

Indicates 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.