LINQ3: Flatten nested $or into a single $or

XMLWordPrintableJSON

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

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

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

      and we would rather translate to:

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

            Assignee:
            Robert Stam
            Reporter:
            Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: