IndexColumnOrdered

public enum IndexColumnOrdered : IndexColumn

An enumeration for columns used in indices along with their sort order.

  • Undocumented

    Declaration

    Swift

    public var table: Table { get }
  • Order ascending.

    Declaration

    Swift

    case ASC(Column)
  • Order descending.

    Declaration

    Swift

    case DESC(Column)
  • Build the index column using QueryBuilder.

    Declaration

    Swift

    public func buildIndex(queryBuilder: QueryBuilder) -> String

    Parameters

    queryBuilder

    The QueryBuilder to use.

    Return Value

    A String representation of the index column.