Rindle docs and package mapSkip to main content

create_table_ddl

Function create_table_ddl 

pub fn create_table_ddl(
    table: &str,
    columns: &[String],
    pk: &[usize],
    col_types: &[ColType],
) -> String
Expand description

CREATE TABLE IF NOT EXISTS for a typed column spec + PK column indices. Shared by the single-thread and cluster-backed cores so their schemas are identical.