Skip to content

Protocol

SQLJoinBuilder

Common definitions for any query builder which permits specifying joins.
protocol SQLJoinBuilder : AnyObject

Topics

Instance Properties

  • joins
    The set of joins to be applied to the query.

Instance Methods

  • join(_:method:on:)
    Include the given table in the list of those used by the query, performing an explicit join using the given method and condition(s). Tables are joined left to right.
  • join(_:method:on:_:_:)
    Include the given table in the list of those used by the query, performing an explicit join using the given method and condition(s). Tables are joined left to right.
  • join(_:method:using:)
    Include the given table in the list of those used by the query, performing an explicit join using the given method and columns. Tables are joined left to right.

Relationships

Inherited By

Conforming Types

See Also

Builder Protocols

  • SQLAliasedColumnListBuilder
    Common definitions for query builders which permit specifying aliased column names.
  • SQLColumnUpdateBuilder
    Common definitions for query builders which support assigning values to columns.
  • SQLPartialResultBuilder
    Common definitions for any query builder which permits specifying range and ordering behaviors.
  • SQLPredicateBuilder
    Common definitions for any query builder which permits specifying a primary predicate.
  • SQLQueryBuilder
    Base definitions for builders which set up queries and execute them against a given database.
  • SQLQueryFetcher
    Common definitions for SQLQueryBuilders which support retrieving result rows.
  • SQLReturningBuilder
    Common definitions for any query builder which can return values from data-mutating queries.
  • SQLSecondaryPredicateBuilder
    Common definitions for any query builder which permits specifying a secondary predicate.
  • SQLSubqueryClauseBuilder
    A builder which can construct - but not execute - a complete SELECT query. Useful for building CTEs, CREATE TABLE ... SELECT clauses, etc., not to mention actual SELECT queries.
  • SQLUnqualifiedColumnListBuilder
    Common definitions for query builders which permit or require specifying a list of unqualified column names.