Method SQLite.SQLite()->insert_id()


Method insert_id

int insert_id()

Description

Returns the value of the ROWID (aka OID, aka _ROWID_, or declared INTEGER PRIMARY KEY) column for the most recent successful INSERT operation, or 0 (zero) if no INSERT operations have been performed on the connection yet.