Structure
PostgresQuery.StringInterpolation
The type each segment of a string literal containing interpolations should be appended to.
struct StringInterpolation
Overview
The StringLiteralType of an interpolation type must match the StringLiteralType of the conforming type.
Topics
Initializers
init(literalCapacity: Int, interpolationCount: Int)Creates an empty instance ready to be filled with string literal content.
Instance Methods
func appendInterpolation(_:)func appendInterpolation<Value, JSONEncoder>(Value, context: PostgresEncodingContext<JSONEncoder>) throwsfunc appendInterpolation(unescaped: String)func appendLiteral(String)Appends a literal segment to the interpolation.
Type Aliases
typealias StringLiteralTypeThe type that should be used for literal segments.
Relationships
Conforms To
Swift.SendableSwift.SendableMetatypeSwift.StringInterpolationProtocol