Returns the ID of the last inserted row or sequence value.
public getLastInsertID ( string $sequenceName = '' ) : string | ||
$sequenceName | string | name of the sequence object (required by some DBMS) |
return | string | the row ID of the last row inserted, or the last value retrieved from the sequence object |