API reference@evolu/commonSqlite › SqliteValue

const SqliteValue: union(
  FiniteNumber,
  Null,
  String,
  Uint8Array,
);

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

A value that can be stored in Sqlite.

Numeric values use FiniteNumber because JavaScript numbers also include NaN and infinities. SQLite binds NaN as NULL, while JSON serialization converts all non-finite numbers to null. Restricting numbers to finite values preserves them across storage and query serialization.

Note that Evolu can't support Int64 because expo-sqlite (and some others) do not support it.