Skip to content

Structure

SQLStatement

An alternative API for serialization of SQLExpressions.
struct SQLStatement

Overview

The statement(_:) method provides access to the “statement” serialization API, which offers a more consistent and readable interface for serialization than the repeated calls to write(_:) and serialize(to:) originally described by SQLExpression. See the documentation of statement(_:) for example usage.

Note

Although SQLStatement itself conforms to SQLExpression, users are not expected to explicitly include it in the serialization of any other expression; it is serialized automatically by statement(_:) when appropriate.

Topics

Instance Properties

Instance Methods

Relationships

Conforms To

See Also

Fundamentals

  • protocol SQLExpression
    The fundamental base type of anything which can be represented as SQL using SQLKit.
  • struct SQLSerializer
    Encapsulates the most basic operations for serializing SQLExpressions into a raw SQL string and a (potentially empty) sequence of bound parameter values.