Uploaded image for project: 'Motor'
  1. Motor
  2. MOTOR-34

Bad aggregation-cursor docs

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.3
    • Component/s: None
    • Labels:
      None
    • # Replies:
      2
    • Last comment by Customer:
      true

      Description

      The example snippet for MotorCollection.aggregate with a cursor is missing a "yield" statement:

      http://motor.readthedocs.org/en/stable/api/motor_collection.html#motor.MotorCollection.aggregate

      Additionally, aggregation is becoming prominent enough it should be included in the tutorial and / or examples sections.

      Reported here:

      http://stackoverflow.com/questions/24127427/python-motor-offers-fetch-next-exception-on-aggregation

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since reply:
                4 years, 26 weeks, 4 days ago
                Date of 1st Reply: