make $cond accept object as argument

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Done
    • Priority: Major - P3
    • 2.5.3
    • Affects Version/s: None
    • Component/s: Aggregation Framework
    • None
    • Fully Compatible
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Rather than only allowing an array we should allow an object with the fields 'if', 'then' and 'else' to be consistent with the syntax of $map and $let

              Assignee:
              Matt Dannenberg (Inactive)
              Reporter:
              Matt Dannenberg (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: