From 85786fa1138414f8a85cef3df1b69a548b00dd2e Mon Sep 17 00:00:00 2001 From: "Daniel J. Summers" Date: Tue, 4 Jun 2024 21:53:02 -0400 Subject: [PATCH] where are the results --- src/DocumentList.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/DocumentList.php b/src/DocumentList.php index da5d0f3..e1ff4aa 100644 --- a/src/DocumentList.php +++ b/src/DocumentList.php @@ -22,7 +22,9 @@ class DocumentList * @param PDOStatement|null $result The result of the query * @param Mapper $mapper The mapper to deserialize JSON */ - private function __construct(private ?PDO $pdo, public ?PDOStatement $result, public Mapper $mapper) { } + private function __construct(private ?PDO $pdo, public ?PDOStatement $result, public Mapper $mapper) { + var_dump($this->result->fetch(PDO::FETCH_ASSOC)); + } /** * Construct a new document list