W3cubDocs

/SQLite

Set the Last Insert Rowid value

Set the Last Insert Rowid value.

void sqlite3_set_last_insert_rowid(sqlite3*,sqlite3_int64);

The sqlite3_set_last_insert_rowid(D, R) method allows the application to set the value returned by calling sqlite3_last_insert_rowid(D) to R without inserting a row into the database.

See also lists of Objects, Constants, and Functions.

SQLite is in the Public Domain.
https://sqlite.org/c3ref/set_last_insert_rowid.html