Initial SQLite development #1
|
@ -50,6 +50,7 @@ class DocumentList
|
|||
if ($debug) echo '*** CALLED GENERATOR ***';
|
||||
|
||||
if ($this->result) {
|
||||
if ($debug) echo 'There are results';
|
||||
while ($row = $this->result->fetch(PDO::FETCH_ASSOC)) {
|
||||
if ($debug) echo "<pre>Returning an item\n</pre>";
|
||||
yield $this->mapper->map($row);
|
||||
|
|
Loading…
Reference in New Issue
Block a user