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

Support $$ROOT in LINQ for agg

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.14.0
    • 2.1.1
    • Linq
    • None
    • Windows, C#, MongoDB 3.0.7

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: