Skip to content

Class

SQLDropTriggerBuilder

Builds SQLDropTrigger queries.
final class SQLDropTriggerBuilder

Topics

Initializers

Instance Properties

Instance Methods

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

Relationships

Conforms To

See Also

Query Builders