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

Create a BSON document iterator class

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.16.0
    • Affects Version/s: 0.6.3
    • Component/s: None
    • Labels:
      None

      Although bson_to_zval() never completely supported decoding of multiple BSON documents from a large stream, it's a handy feature for processing input streams or reading BSON dump files.

      We can create an iterator class that abstracts libbson's reader structure and emits documents when iterated upon, similar to the BsonIterator class I created for my react-mongodb project.

            Assignee:
            andreas.braun@mongodb.com Andreas Braun
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: