ConstraintCharacteristics in sqlparser::ast - Rust

Struct ConstraintCharacteristics 

Source

pub struct ConstraintCharacteristics {
    pub deferrable: Option<bool>,
    pub initially: Option<DeferrableInitial>,
    pub enforced: Option<bool>,
}
Expand description

<constraint_characteristics> = [ DEFERRABLE | NOT DEFERRABLE ] [ INITIALLY DEFERRED | INITIALLY IMMEDIATE ] [ ENFORCED | NOT ENFORCED ]

Used in UNIQUE and foreign key constraints. The individual settings may occur in any order.

[ DEFERRABLE | NOT DEFERRABLE ]

[ INITIALLY DEFERRED | INITIALLY IMMEDIATE ]

[ ENFORCED | NOT ENFORCED ]

§
§
§
§
§
§