Protocols

The following protocols are available globally.

  • Defines the protocol which all query components must implement. Each query component should be able to return its representation as a String.

    See more

    Declaration

    Swift

    public protocol Buildable
  • A protocol defining functions database plugins must implement to build a string representation of a Column

    See more

    Declaration

    Swift

    public protocol ColumnCreator
  • Defines the protocol which all database plugins must implement.

    See more

    Declaration

    Swift

    public protocol Connection: AnyObject
  • Defines the protocol for columns, and aggregate and scalar functions on columns.

    See more

    Declaration

    Swift

    public protocol Field: Buildable
  • Defines the protocol which should be used for all filtering clauses. Represents a filter as String value.

    Declaration

    Swift

    public protocol QueryFilterProtocol: Buildable
  • Defines the protocol which should be used for all HAVING clauses. Represents a HAVING clause as String value.

    Declaration

    Swift

    public protocol QueryHavingProtocol: Buildable
  • A protocol for columns used in indices.

    See more

    Declaration

    Swift

    public protocol IndexColumn
  • A protocol for database specific prepared statements to implement.

    Declaration

    Swift

    public protocol PreparedStatement
  • Defines the protocol which should be used for all suffix clauses.

    Declaration

    Swift

    public protocol QuerySuffixProtocol: Buildable
  • A protocol for retrieving query results. All database plugins must implement this protocol.

    See more

    Declaration

    Swift

    public protocol ResultFetcher
  • Defines the protocol for data types to be used as table column types.

    See more

    Declaration

    Swift

    public protocol SQLDataType