Version 0.9.5 beta - added lastInsertID for the PDO adapter
This commit is contained in:
@@ -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 )
|
||||||
|
|||||||
Reference in New Issue
Block a user