mysql-native v3.0.0

API Reference Home: [This Version] [Latest Version] [Other Versions]


Function Prepared.lastInsertID

After a command that inserted a row into a table with an auto-increment ID column, this method allows you to retrieve the last insert ID generated from this prepared statement.

ulong lastInsertID() pure nothrow @property const;