EPUB | CHM | PDF

TMySQLDataset.Properties.LastInsertID

Top Previous Next

Get last inserted value of AUTO_INCREMENT column from MySQL server.

Syntax:

property LastInsertID : Int64;

Description:

This property uses TMySQLDatabase.LastInsertID to get value. DAC for MySQL performs 'SELECT LAST_INSERT_ID' query for current database and returns its result as value of this property.

See also: TMySQLDatabase.LastInsertID property