Skip to main content
StatementResultingChanges - node__sqlite.d.ts - Node documentation
interface StatementResultingChanges

Usage in Deno

```typescript import { type StatementResultingChanges } from "node:node__sqlite.d.ts"; ```
> [!WARNING] Deno compatibility > This module is not implemented.

Properties

changes: number | bigint
The number of rows modified, inserted, or deleted by the most recently completed `INSERT`, `UPDATE`, or `DELETE` statement. This field is either a number or a `BigInt` depending on the prepared statement's configuration. This property is the result of [`sqlite3_changes64()`](https://www.sqlite.org/c3ref/changes.html).
lastInsertRowid: number | bigint
The most recently inserted rowid. This field is either a number or a `BigInt` depending on the prepared statement's configuration. This property is the result of [`sqlite3_last_insert_rowid()`](https://www.sqlite.org/c3ref/last_insert_rowid.html).