Details
-
Improvement
-
Status: Closed
-
Major - P3
-
Resolution: Done
-
0.2.0
-
None
-
None
Description
Some of the legacy info iterators operate on inline results, which mean they can be rewound and counted multiple times. The same is not true for the iterators that wrap a Cursor (be it a command cursor or query cursor on a system collection). Using a CachingIterator (or something similar) when necessary would keep this consistent.
Attachments
Issue Links
- depends on
-
PHPC-255 Cursor rewind should throw an exception after iteration begins
-
- Closed
-
-
PHPC-282 Cursor should not yield multiple iterators
-
- Closed
-
- is related to
-
PHPLIB-70 Database, collection, and index management
-
- Closed
-
-
PHPLIB-45 Collection enumeration methods
-
- Closed
-
-
PHPLIB-46 Index enumeration methods
-
- Closed
-
-
PHPLIB-72 Database enumeration method
-
- Closed
-