Skip to content

Commit 0e75acb

Browse files
Update src/ast/mod.rs
Co-authored-by: Ifeanyi Ubah <[email protected]>
1 parent 0601237 commit 0e75acb

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

src/ast/mod.rs

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -662,16 +662,11 @@ pub enum CastKind {
662662
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
663663
#[cfg_attr(feature = "visitor", derive(Visit, VisitMut))]
664664
pub enum ConstraintReferenceMatchKind {
665-
/// `MATCH FULL` - Will not allow one column of a multicolumn foreign key to be null
666-
/// unless all foreign key columns are null; if they are all null, the row is not
667-
/// required to have a match in the referenced table.
665+
/// `MATCH FULL`
668666
Full,
669-
/// `MATCH PARTIAL` - Not yet implemented by most databases (part of SQL standard).
670-
/// Would allow partial matches in multicolumn foreign keys.
667+
/// `MATCH PARTIAL`
671668
Partial,
672-
/// `MATCH SIMPLE` - The default behavior. Allows any of the foreign key columns
673-
/// to be null; if any of them are null, the row is not required to have a match
674-
/// in the referenced table.
669+
/// `MATCH SIMPLE`
675670
Simple,
676671
}
677672

0 commit comments

Comments
 (0)