Returns the last inserted id of auto increment data type.
Usage:
$db->{table}->lastInsertedId();
Example:
$lastId = $db->news->lastInsertedId();
Returns:
// 1
Last updated 1 month ago