lastInsertRowId property

int get lastInsertRowId

The row id of the most recent successful insert statement on this database connection.

This does not consider WITHOUT ROWID tables and won't reliably detect inserts made by triggers. For details, see the sqlite3 docs.

Implementation

int get lastInsertRowId;