mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-127: IterableResult should implement Iterator #159
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Nov 6, 2009).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user @beberlei:
IterableResult should implement Iterator, because then you could do:
@doctrinebot commented on GitHub (Nov 9, 2009):
Comment created by @beberlei:
There is a problem with the current implementation of IterableResult. On the last loop roundtrip the pdo statement instance inside the hydrator should be closed to allow for a next statement to be executed. This is however not possible since the close/free method on the hydrator nested inside IterableResult is private. Can it be published?
@doctrinebot commented on GitHub (Nov 20, 2009):
Comment created by @beberlei:
Implemented and documented in Batch Processing manual section.
@doctrinebot commented on GitHub (Nov 20, 2009):
Issue was closed with resolution "Fixed"