Skip to content

tableColumns

tableColumns(ddl): Map<string, string[]>

Defined in: packages/db-sqlite/src/ddl.ts:542

Parse the CREATE TABLE statements in a DDL string into a map of table name → column definition fragments (e.g. name TEXT NOT NULL). Table-level constraints are skipped; every StoryShelf column is declared inline.

string

Map<string, string[]>