distinct needs to return a cursor

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.2.0-rc0
    • Component/s: Aggregation Framework
    • None
    • Environment:
      all
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The current distinct implementation is not suitable for large databases because it doesn't return a cursor. Therefore you can't work in batches, etc...

      TypeError: cursor.batchSize is not a function

            Assignee:
            Unassigned
            Reporter:
            Robert La Ferla
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: