OCA\Richdocuments\Db::getLastInsertId PHP Méthode

getLastInsertId() public méthode

Get id of the recently inserted record
public getLastInsertId ( ) : mixed
Résultat mixed
    public function getLastInsertId()
    {
        return \OC::$server->getDatabaseConnection()->lastInsertId($this->tableName);
    }