Add more debug

This commit is contained in:
Daniel J. Summers 2024-06-04 21:34:17 -04:00
parent 4342d1ac50
commit b871d3e03f

View File

@ -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)) {