1
0
mirror of https://github.com/dg/dibi.git synced 2025-07-09 16:46:29 +02:00

DibiResult::getIterator() - removed optional $offset and $limit parameters (BC break!)

This commit is contained in:
David Grudl
2010-08-03 16:59:31 +02:00
parent 792a25d57b
commit 019f6864cf
3 changed files with 8 additions and 38 deletions

View File

@ -64,19 +64,6 @@ foreach ($res as $n => $row) {
}
// fetch row by row with defined offset
echo "<h2>getIterator(2)</h2>\n";
foreach ($res->getIterator(2) as $n => $row) {
Debug::dump($row);
}
// fetch row by row with defined offset and limit
echo "<h2>getIterator(2, 1)</h2>\n";
foreach ($res->getIterator(2, 1) as $n => $row) {
Debug::dump($row);
}
// more complex association array
$res = dibi::query('
SELECT *