Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
Sql
Sql.sqlite

Method Sql.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.