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

LINQ3: Flatten nested $and into a single $and

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.14.0
    • Affects Version/s: None
    • Component/s: LINQ3
    • None

      The current LINQ3 implementation sometimes results in nested $and like:

      { $and : [{ $and : [p1, p2] }, p3] } 

      and we would rather translate to:

      { $and : [p1, p2, p3] } 

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

              Created:
              Updated:
              Resolved: