Skip to main content

define_create_table_constraints

Function define_create_table_constraints 

Source
pub fn define_create_table_constraints(
    c: &mut CreateTable,
    indexes: ConstraintIndexNamer<'_>,
    inherited: &InheritedDefinitions,
    allocate: &mut CatalogIdentityAllocator<'_>,
) -> Result<(), SQLError>
Expand description

Define every declared key before foreign-key binding so a foreign key can reference its own table’s keys.