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

distinct needs to return a cursor

    XMLWordPrintable

    Details

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

      Description

      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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: