Instance Method
set(model:with:)
Using the given
SQLQueryEncoder, transform the provided model into a series of key/value pairs and add an assignment for each pair.@discardableResult func set(model: some Encodable & Sendable, with encoder: SQLQueryEncoder) throws -> Self
Parameters
modelAn
Encodablevalue whose keys and values will form a series of column assignments.encoderA configured
SQLQueryEncoderto use.
Discussion
Column names are left unqualified.