Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-1486

Support $$ROOT in LINQ for agg

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.14.0
    • Affects Version/s: 2.1.1
    • Component/s: Linq
    • None
    • Environment:
      Windows, C#, MongoDB 3.0.7

      The expected behavior of GroupBy method on LINQ is to return a IGrouping<TKey,TDocument>, where TKey is the group key type and TDocument is a IEnumerable<TDocument>. In this case it returns an empty IEnumerable.

      Is this the expected behavior? Becasue this in not the expected in other LINQ implementations.

            Assignee:
            robert@mongodb.com Robert Stam
            Reporter:
            ccasanova81 Carlos Casanova
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: