Skip to content

Instance Method

set(_:to:)

Add an assignment setting the named column to the provided Encodable value.
@discardableResult func set(_ column: String, to bind: any Encodable & Sendable) -> Self

Parameters

column

The name of the column whose value is to be set.

bind

The value to assign to the named column.

Discussion

The column name is left unqualified.