Skip to content

Class

SQLDropIndexBuilder

Builds SQLDropIndex queries.
final class SQLDropIndexBuilder

Topics

Initializers

Instance Properties

Instance Methods

  • behavior(_:)
    The drop behavior clause specifies if objects that depend on a index should also be dropped or not when the index is dropped, for databases that support this.
  • cascade()
    Adds a CASCADE clause to the DROP INDEX statement instructing that objects that depend on this index should also be dropped.
  • ifExists()
    The optional IF EXISTS clause suppresses the error that would normally result if the index does not exist.
  • on(_:)
    Convenience method for specifying an owning object using a String. See on(_:) for details.
  • restrict()
    Adds a RESTRICT clause to the DROP INDEX statement instructing that if any objects depend on this index, the drop should be refused.

Relationships

Conforms To

See Also

Query Builders