• Jeremy Mikola's avatar
    PHPLIB-81: CachingIterator fixes for rewind and count · b2a76bfb
    Jeremy Mikola authored
    Ensure that a call to CachingIterator::rewind() no longer exhausts results up front, which would impose a BufferedIterator design.
    
    Initializing the cache to an empty array also ensures that we can count an empty result set.
    b2a76bfb
Name
Last commit
Last update
..
BSONArrayTest.php Loading commit data...
BSONDocumentTest.php Loading commit data...
CachingIteratorTest.php Loading commit data...
CollectionInfoTest.php Loading commit data...
DatabaseInfoTest.php Loading commit data...
IndexInfoTest.php Loading commit data...
IndexInputTest.php Loading commit data...
TypeMapArrayIteratorTest.php Loading commit data...