ADSQLCreateIndexInstruction

public struct ADSQLCreateIndexInstruction: ADSQLInstruction

Holds the information for a SQL CREATE INDEX instruction.

  • If true the index is unique, else false.

    Declaration

    Swift

    public var makeUnique: Bool = false
  • The name of the index being created.

    Declaration

    Swift

    public var indexName: String = ""
  • The name of the table that the index is being created on.

    Declaration

    Swift

    public var tableName: String = ""
  • The list of columns in the index.

    Declaration

    Swift

    public var columnList: [String] = []
  • The optional WHERE clause that controls which table rows are included in the Index.

    Declaration

    Swift

    public var whereExpression: ADSQLExpression?