[API reference](https://evolu.dev/docs/api-reference) › [@evolu/sqlite-wasm](https://evolu.dev/docs/api-reference/sqlite-wasm) › SqliteInvalidSqlTextError

Defined in: [packages/sqlite-wasm/src/Database.ts:614](https://github.com/evoluhq/evolu/blob/bc4578a260dd15d5bbf94b83765ca05984d194cb/packages/sqlite-wasm/src/Database.ts#L614)

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`](https://evolu.dev/docs/api-reference/common/Type/interfaces/Typed)\<`"SqliteInvalidSqlText"`\>

## Properties

<a id="type"></a>

### type

```ts
readonly type: "SqliteInvalidSqlText";
```

Defined in: packages/common/dist/src/Type.d.ts:9304

#### Inherited from

[`Typed`](https://evolu.dev/docs/api-reference/common/Type/interfaces/Typed).[`type`](https://evolu.dev/docs/api-reference/common/Type/interfaces/Typed#type)