getColumnDefForSchema
constgetColumnDefForSchema: (schema,propertySignature?,forceNullable?) =>Any
Defined in: packages/@livestore/common/dist/schema/state/sqlite/column-def.d.ts:10
Maps a schema to a SQLite column definition, respecting column annotations.
Note: When used with schema-based table definitions, optional fields (| undefined) are transformed to nullable fields (| null) to match SQLite’s NULL semantics. Fields with both null and undefined will emit a warning as this is a lossy conversion.
Parameters
Section titled “Parameters”schema
Section titled “schema”Schema.Schema.AnyNoContext
propertySignature?
Section titled “propertySignature?”SchemaAST.PropertySignature
forceNullable?
Section titled “forceNullable?”boolean