Open
Description
When creating a mocked select result from an array, the rowCount stays at 0. e.g.
$p->mock($query, [['id' => 1],['id' => 2],['id' => 3]]);
$stmt = $p->query($query);
echo $stmt->rowCount(); // Outputs 0, expected 3
Assuming I'm not just doing something wrong, I'd be happy to submit a PR for this, though it'd be helpful to be pointed in the right direction 😃
Metadata
Metadata
Assignees
Labels
No labels