makeColumnSpec
constmakeColumnSpec: (tableAst) =>string
Defined in: packages/@livestore/common/dist/schema/state/sqlite/column-spec.d.ts:10
Returns a SQLite column specification string for a table’s column definitions.
Example:
'id' integer not null autoincrement , 'email' text not null , 'username' text not null , 'created_at' text default CURRENT_TIMESTAMP, PRIMARY KEY ('id')Parameters
Section titled “Parameters”tableAst
Section titled “tableAst”Returns
Section titled “Returns”string