Skip to main content

create_table

Function create_table 

Source
pub fn create_table(t: &Table) -> String
Expand description

CREATE TABLE schema.name ( ... ); with inline columns and constraints.

When table.partition_of is set the column list is omitted entirely (partitions inherit their columns) and a PARTITION OF parent FOR VALUES … clause is emitted instead. When table.partition_by is set a PARTITION BY … clause is appended before the trailing ;.