Skip to content

Class

SQLDropEnumBuilder

Builds SQLDropEnum queries.
final class SQLDropEnumBuilder

Topics

Instance Properties

Instance Methods

  • behavior(_:)
    The drop behavior clause specifies if objects that depend on a type should also be dropped or not when the type is dropped, for databases that support this.
  • cascade()
    Adds a CASCADE clause to the DROP TYPE statement instructing that objects that depend on this type should also be dropped.
  • ifExists()
    The optional IF EXISTS clause suppresses the error that would normally result if the type does not exist.
  • restrict()
    Adds a RESTRICT clause to the DROP TYPE statement instructing that if any objects depend on this type, the drop should be refused.

Relationships

Conforms To

See Also

Query Builders