Add more debug
This commit is contained in:
parent
4342d1ac50
commit
b871d3e03f
|
@ -47,6 +47,7 @@ class DocumentList
|
||||||
public function items(): Generator
|
public function items(): Generator
|
||||||
{
|
{
|
||||||
$debug = defined('PDO_DOC_DEBUG_SQL');
|
$debug = defined('PDO_DOC_DEBUG_SQL');
|
||||||
|
if ($debug) echo '*** CALLED GENERATOR ***';
|
||||||
|
|
||||||
if ($this->result) {
|
if ($this->result) {
|
||||||
while ($row = $this->result->fetch(PDO::FETCH_ASSOC)) {
|
while ($row = $this->result->fetch(PDO::FETCH_ASSOC)) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user