Skip to main content

transform_create_table

Function transform_create_table 

Source
pub fn transform_create_table(
    context: &CreateTableAnalysisContext<'_>,
    c: &mut CreateTable,
) -> Result<(), SQLError>
Expand description

Examine the statement’s elements in written order as transformCreateStmt does while it analyzes the statement, before the relation’s name is checked: each column’s type and then its clauses, and each NOT NULL table constraint; then validate the declared keys.