Limitations

For MySQL
gda_server_provider_get_last_insert_id()
For Oracle
gda_server_provider_get_last_insert_id()
For PostgreSQL
BLOB handling
gda_server_provider_get_last_insert_id()
For SQLite
gda_server_provider_get_last_insert_id()
For Other providers
gda_server_provider_get_last_insert_id()

For MySQL

The following limitations apply to MySQL databases accessed via Libgda:

gda_server_provider_get_last_insert_id()

The gda_server_provider_get_last_insert_id() function returns the value generated for an AUTO_INCREMENT column by the previous INSERT or UPDATE statement. Use this function after you have performed an INSERT statement into a table that contains an AUTO_INCREMENT field. For more information, see the MySQL documentation for the mysql_insert_id() function.