Version 0.9.5 beta - added lastInsertID for the PDO adapter

This commit is contained in:
Stephan Kasdorf
2020-09-10 23:02:11 +02:00
parent 016811c414
commit 6a323aa32a

View File

@@ -163,7 +163,7 @@ final class Pdo extends Mysql implements IPdo
public static function getLastInsertedID() public static function getLastInsertedID()
{ {
// TODO: Implement getLastInsertedID() method. return parent::getInstance( self::getSettingsSection() )->getConn()->lastInsertId();
} }
public static function fetchTableAsArray( $tablename = self::PLACE_TABLE_NAME, $limit = self::PLACE_QUERY_LIMIT, $order = self::PLACE_SORT_ORDER ) public static function fetchTableAsArray( $tablename = self::PLACE_TABLE_NAME, $limit = self::PLACE_QUERY_LIMIT, $order = self::PLACE_SORT_ORDER )