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

Usage in Deno

```typescript import { type StatementResultingChanges } from "node:node__sqlite.d.ts"; ```
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).

Type

number | bigint