Skip to content

Enumeration

SQLDropBehavior

Specifies a behavior when performing a DROP operation on a database object which is referenced by other objects.
enum SQLDropBehavior

Overview

These behaviors are not supported by all dialects. If the dialect does not claim support, nothing is serialized.

Topics

Enumeration Cases

  • case cascade
    When the object is referenced from other objects, recursively delete the referencing objects as well.
  • case restrict
    Refuse to drop the object if it has any remaining references from other objects.

Instance Methods

Relationships

Conforms To

  • SQLExpression
  • Swift.Equatable
  • Swift.Hashable
  • Swift.Sendable
  • Swift.SendableMetatype

See Also

Clause Expressions