IndexOptions

public struct IndexOptions : OptionSet

Table creation options

  • Only creates the index if it does not already exist.

    Declaration

    Swift

    public static let ifNotExists: IndexOptions
  • Creates a unique index.

    Declaration

    Swift

    public static let unique: IndexOptions