Previous topic

sqlite_execute

Next topic

sqlite_libencoding

This Page

sqlite_last_insert_rowidΒΆ

sqlite_last_insert_rowid returns the integer primary key of the last INSERT command.

rowid = sqlite_last_insert_rowid(db)

Return Value

rowid is a integer primary key of the last INSERT command.

Parameters

db

db is a handle returned by sqlite_open.

See also

Overview sqlite

id-268487