Make MotorGridOut iterable

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Done
    • Priority: Minor - P4
    • 1.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Python 3.5's "async for" lets us iterate a MotorGridOut or AsyncIOMotorGridOut, analogous to how PyMongo's GridOuts have always been iterable:

      async for chunk in gridout:
          print(chunk)
      

      Update "differences.rst" to mention this.

              Assignee:
              A. Jesse Jiryu Davis
              Reporter:
              A. Jesse Jiryu Davis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: