Uploaded image for project: 'PHP Driver: Library'
  1. PHP Driver: Library
  2. PHPLIB-81

Cache results for info iterators that decorate a Cursor

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • 0.2.0
    • 1.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

          Activity

            People

              jmikola@mongodb.com Jeremy Mikola
              jmikola@mongodb.com Jeremy Mikola
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: