Skip to main content
StatementResultingChanges.lastInsertRowid - sqlite - Node documentation
property StatementResultingChanges.lastInsertRowid

Usage in Deno

import { type StatementResultingChanges } from "node:sqlite";

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().

Type

number | bigint