where are the results
This commit is contained in:
		
							parent
							
								
									71ae46fac7
								
							
						
					
					
						commit
						85786fa113
					
				| @ -22,7 +22,9 @@ class DocumentList | |||||||
|      * @param PDOStatement|null $result The result of the query |      * @param PDOStatement|null $result The result of the query | ||||||
|      * @param Mapper<TDoc> $mapper The mapper to deserialize JSON |      * @param Mapper<TDoc> $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 |      * Construct a new document list | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user