modified classes for GeneralException thrown
This commit is contained in:
@ -34,6 +34,14 @@ abstract class MongoModel extends Model
|
||||
}
|
||||
|
||||
/**
|
||||
* @TODO: test method
|
||||
*/
|
||||
public function deleteAll($query = array())
|
||||
{
|
||||
$this->db->delete($this->table(), $query);
|
||||
}
|
||||
|
||||
/**
|
||||
* @TODO: check for limits (if just one record needed)
|
||||
*/
|
||||
protected function fetchField($data, $params = array(), $field, $cache_key = null)
|
||||
|
Reference in New Issue
Block a user