Skip to main content

to_create_table_sql

Function to_create_table_sql 

Source
pub fn to_create_table_sql(
    table: &TableSpec,
    limits: &SchemaLimits,
) -> Result<String, SchemaError>
Expand description

Render the CREATE TABLE IF NOT EXISTS DDL for a runtime spec, enforcing identifier safety, the type allowlist, column bounds, and no duplicate columns.