• 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
..
Collection Loading commit data...
Database Loading commit data...
GridFS Loading commit data...
Model Loading commit data...
Operation Loading commit data...
ClientFunctionalTest.php Loading commit data...
ClientTest.php Loading commit data...
CommandObserver.php Loading commit data...
DocumentationExamplesTest.php Loading commit data...
FooTest.php Loading commit data...
FunctionalTestCase.php Loading commit data...
FunctionsTest.php Loading commit data...
PedantryTest.php Loading commit data...
TestCase.php Loading commit data...
bootstrap.php Loading commit data...