Skip to main content

define_create_table_checks

Function define_create_table_checks 

Source
pub fn define_create_table_checks(
    context: &CreateTableAnalysisContext<'_>,
    table: &mut CreateTable,
    held: &BTreeSet<String>,
    notices: &mut Vec<SQLNotice>,
    allocate: &mut CatalogIdentityAllocator<'_>,
) -> Result<(), SQLError>
Expand description

Add the CHECK constraints table declares, in written order. held names the constraints the table holds before its CHECKs besides the ones it inherits: the keys and foreign keys a partition clones from its parent.