int insert_id()
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.
0