Version 0.9.5 beta - Updated the MySQL adapter in order to load complete result sets by where selection.
This commit is contained in:
@@ -43,15 +43,6 @@ 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
|
||||
@@ -117,6 +108,24 @@ abstract class Db implements IDb
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $fieldWhere
|
||||
* @return mixed|void
|
||||
*/
|
||||
public function selectDatasetByFieldWhere($fieldWhere = array())
|
||||
{
|
||||
return Pdo::selectDatasetByFieldAndValue(self::$table['table'], $fieldWhere);
|
||||
}
|
||||
|
||||
/**
|
||||
* will return the last inserted id of the given table
|
||||
* @return int
|
||||
*/
|
||||
public function lastInsertId()
|
||||
{
|
||||
return Pdo::getLastInsertedID();
|
||||
}
|
||||
|
||||
public function nextInsertIndex()
|
||||
{
|
||||
// TODO: Implement nextInsertIndex() method.
|
||||
|
||||
Reference in New Issue
Block a user