Skip to main content

table_ddl

Function table_ddl 

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

Synthesise a CREATE TABLE that mirrors the catalog. Columns first, then constraints. Aligned name + type columns for readability. Keywords are cased according to the active hover keyword case (set by dsl_hover::hover_with).