Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
simpler interface
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfy-j committed May 10, 2019
1 parent 8b7c1cc commit 8992e93
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Driver/Statement.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ public function getIterator(): \Generator
foreach ($this->pdoStatement as $row) {
yield $row;
}

$this->close();
}

/**
Expand Down

0 comments on commit 8992e93

Please sign in to comment.