Instance Method
encode(_:)
Encode an
Encodable value to an array of key/expression pairs suitable for use as input to values(_:), set(_:to:), and other related APIs.func encode(_ encodable: some Encodable) throws -> [(String, any SQLExpression)]
Parameters
encodableThe value to encode.
Return Value
A sequence of (column name, value expression) pairs representing an output row. The order of the results is considered significant, although it will rarely be meaningful in practice.