diff --git a/core/c/pdo.php b/core/c/pdo.php index c7d70f6..0353649 100644 --- a/core/c/pdo.php +++ b/core/c/pdo.php @@ -163,7 +163,7 @@ final class Pdo extends Mysql implements IPdo 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 )