Method

MySQLCommunityServer.LastInsertedRowID


Warning

This item was deprecated in version 2024r2. Please use the Database.AddRow method signature that returns a rowid as a replacement.

Description

Returns an Int64 containing the value of the primary key column (or the AUTOINCREMENT column if there is no primary key column) for the last row added to any table in the database.

Compatibility

All project types on all supported operating systems.