Query\Drivers\Firebird\Driver::lastInsertId

Returns the last value of the specified generator