From b871d3e03fed5bd4e678d4b6e23a21598d90054c Mon Sep 17 00:00:00 2001 From: "Daniel J. Summers" Date: Tue, 4 Jun 2024 21:34:17 -0400 Subject: [PATCH] Add more debug --- src/DocumentList.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/DocumentList.php b/src/DocumentList.php index 6aafba2..02ada88 100644 --- a/src/DocumentList.php +++ b/src/DocumentList.php @@ -47,6 +47,7 @@ class DocumentList public function items(): Generator { $debug = defined('PDO_DOC_DEBUG_SQL'); + if ($debug) echo '*** CALLED GENERATOR ***'; if ($this->result) { while ($row = $this->result->fetch(PDO::FETCH_ASSOC)) {