1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-06 14:16:39 +02:00

- BC change: DibiResult::fetchAll() returns always multidimensional arrays (for single columns use fetchPairs() instead)

- added DibiTable::insertOrUpdate()
- new modifier %by
This commit is contained in:
David Grudl
2008-10-01 16:04:16 +00:00
parent 9b84459f09
commit 9eddba204f
9 changed files with 102 additions and 44 deletions

View File

@@ -259,12 +259,11 @@ class DibiFluent extends DibiObject
* Fetches all records from table.
* @param int offset
* @param int limit
* @param bool simplify one-column result set?
* @return array
*/
public function fetchAll($offset = NULL, $limit = NULL, $simplify = TRUE)
public function fetchAll($offset = NULL, $limit = NULL)
{
return $this->execute()->fetchAll($offset, $limit, $simplify);
return $this->execute()->fetchAll($offset, $limit);
}