Structure
SQLSerializer
Encapsulates the most basic operations for serializing
SQLExpressions into a raw SQL string and a (potentially empty) sequence of bound parameter values.struct SQLSerializer
Topics
Initializers
init(database:)Create a newSQLSerializerfor a givenSQLDatabase.
Instance Properties
bindsThe list of bound parameter values (if any).databaseThe database for this serializer.dialectsqlThe generated raw SQL text.
Instance Methods
statement(_:)Invoke the provided closure with a newSQLStatementto use for serialization.write(_:)Append raw SQL to the serializer.write(bind:)Add a bound parameter value to the serializer.
Relationships
Conforms To
Swift.SendableSwift.SendableMetatype
See Also
Fundamentals
SQLExpressionThe fundamental base type of anything which can be represented as SQL using SQLKit.SQLStatementAn alternative API for serialization ofSQLExpressions.