Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-6730

distinct needs to return a cursor

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

      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 Unassigned
            Reporter:
            rlaferla Robert La Ferla
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: