Expand description
SQLite DDL generation from the schema model. Kept dialect-shaped (every statement goes through this module) so a second backend is a new module, not a rewrite.
Functionsยง
- column_
sql - One column definition line.
auto_pksays whether this table uses the conventionalid: i64surrogate key (rendered inline asINTEGER PRIMARY KEY AUTOINCREMENT); composite keys are rendered as a table constraint bycreate_table_sqlinstead. - create_
table_ sql - index_
name - index_
sqls CREATE INDEXstatements for every#[orm(index)]column.