Union

public enum Union : Buildable

The SQL SELECT UNION/UNION ALL statement.

  • The SQL UNION statement.

    Declaration

    Swift

    case union(Select)
  • The SQL UNION ALL statement.

    Declaration

    Swift

    case unionAll(Select)
  • 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.