API reference / @evolu/common / Sqlite / SqliteBoolean

Variable: SqliteBoolean

const SqliteBoolean: UnionType<[LiteralType<0>, LiteralType<1>]>;

Defined in: packages/common/src/Sqlite.ts:534

SQLite represents boolean values using 0 (false) and 1 (true) instead of a dedicated boolean type.

See: https://www.sqlite.org/quirks.html#no_separate_boolean_datatype

Tips

Was this page helpful?