Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-116

Cursor methods should call their respective iterator function handlers

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 0.1.4
    • Affects Version/s: 0.1.3
    • Component/s: None
    • None

      Currently, the Iterator interface methods (e.g. current(), rewind()) do nothing beyond zpp argument validation. They should invoke the function handlers defined in php_phongo.c in case a user actually gets this class from QueryResult::getIterator() and tries to walk the results manually.

            Assignee:
            bjori Hannes Magnusson
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: