For SQLite

The following limitations apply to SQLite databases accessed via Libgda:

gda_server_provider_get_last_insert_id()

The gda_server_provider_get_last_insert_id() function returns the ROWID of the most recent INSERT into the database (The rowid is always available as an undeclared column named ROWID, OID, or _ROWID_, and if the table has a column of type INTEGER PRIMARY KEY then that column is another an alias for the rowid). For more information, see the SQLite documentation for the sqlite3_last_insert_rowid() function.