Join

public enum Join : Buildable

The SQL SELECT JOIN statement.

  • The SQL INNER JOIN statement.

    Declaration

    Swift

    case join(Table)
  • The SQL LEFT OUTER JOIN statement.

    Declaration

    Swift

    case left(Table)
  • The SQL CROSS JOIN statement.

    Declaration

    Swift

    case cross(Table)
  • The SQL NATURAL INNER JOIN statement.

    Declaration

    Swift

    case natural(Table)
  • A String with a join statement.

    Declaration

    Swift

    case raw(String, Table)
  • Build the query component using QueryBuilder.

    Throws

    QueryError.syntaxError if query build fails.

    Declaration

    Swift

    public func build(queryBuilder: QueryBuilder) throws -> String

    Parameters

    queryBuilder

    The QueryBuilder to use.

    Return Value

    A String representation of the query component.