Version 0.9.5 beta - Core update added autocomplete through the IDb interface, the DB factory now also supports autocomplete.

This commit is contained in:
Stephan Kasdorf
2020-10-30 12:37:14 +01:00
parent 334588974a
commit bee0a7012f
3 changed files with 33 additions and 3 deletions

View File

@@ -43,6 +43,15 @@ abstract class Db implements IDb
}
}
/**
* will return the last inserted id of the given table
* @return int
*/
public function lastInsertId()
{
return Pdo::getLastInsertedID();
}
/**
* @param bool $user_name
* @return mixed