API reference › @evolu/sqlite-wasm › SqliteInvalidSqlTextError
Defined in: packages/sqlite-wasm/src/Database.ts:614
The SQL is text SQLite would read as other SQL, so it fails before SQLite sees it: it contains a NUL character, which SQLite reads SQL only up to, so it would silently ignore the rest, or a lone surrogate, which UTF-8 cannot encode, so it would run with U+FFFD in its place.
Extends
Typed<"SqliteInvalidSqlText">
Properties
type
readonly type: "SqliteInvalidSqlText";
Defined in: packages/common/dist/src/Type.d.ts:9304