Enumeration
SQLCreateTrigger.TimingSpecifier
Specifies the deferability of a contraint trigger vis a vis the associated constraint.
enum TimingSpecifier
Topics
Enumeration Cases
SQLCreateTrigger.TimingSpecifier.deferrableThe trigger’s execution may be deferred until the end of the active transaction bySET CONSTRAINTS ... DEFERRED, but runs immediately by default.SQLCreateTrigger.TimingSpecifier.deferredByDefaultThe trigger’s execution is deferred until the end of the active transaction unless changed bySET CONSTRAINTS ... IMMEDIATE.SQLCreateTrigger.TimingSpecifier.notDeferrableThe trigger’s execution may not be deferred; it always runs immediately.
Initializers
init(rawValue:)Creates a new instance with the specified raw value.
Instance Methods
serialize(to:)Invoked when a request is made to serialize the expression to raw SQL.
Type Properties
initiallyDeferredA legacy specifier. Behaves identically toSQLCreateTrigger.TimingSpecifier.deferredByDefault, which should be used instead.initiallyImmediateA legacy specifier. Behaves identically toSQLCreateTrigger.TimingSpecifier.deferrable, which should be used instead.
Relationships
Conforms To
SQLExpressionSwift.EquatableSwift.HashableSwift.RawRepresentableSwift.SendableSwift.SendableMetatype