API reference › @evolu/sqlite-wasm › SqliteRunResult

Defined in: packages/sqlite-wasm/src/Database.ts:458

The result of SqliteStatement.run.

Properties

changes

readonly changes: number;

Defined in: packages/sqlite-wasm/src/Database.ts:470

0 for a read-only statement or a run that changed no rows, and otherwise SQLite's sqlite3_changes64: the rows the connection's last INSERT, UPDATE or DELETE that finished changed, without those of triggers, foreign key actions or REPLACE. For an INSERT, UPDATE or DELETE, that is its own count, unless a write on the same connection finished after it within the run, as one its profile trace callback runs. For another statement, it is the count of the last write that finished during the run, as one by a function it calls or by its trace callback.


rows

readonly rows: readonly SqliteRow[];

Defined in: packages/sqlite-wasm/src/Database.ts:459