Skip to content
It's Vapor Week! Celebrating 10 Years of Vapor Read more

Instance Method

append(_:_:)

Add raw text and an optional unserialized SQLExpression to the statement output, in that order.
mutating func append(_ raw: String, _ part: (any SQLExpression)?)

Discussion

Note

Because this method’s non-optional variant, append(_:_:), already existed as public API, source compatibility requires that this version must be declared separately, rather than allowing the compiler to infer the optionality as needed as with, for example, append(_:_:).