Skip to main content

create_table_stmt

Function create_table_stmt 

Source
pub fn create_table_stmt<E>() -> TableCreateStatement
where E: Entity,
Expand description

Build the CREATE TABLE statement for E — columns, primary key, single-column uniques, and inline foreign keys. Secondary indexes are separate; see create_index_ddls.