$unionWith doesn't support null pipelines

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Mongoast considers the following syntaxes to be equivalent:

      { $unionWith: "foo" }
      { $unionWith: { coll: "foo" }}
      { $unionWith: { coll: "foo", pipeline: null } }
      

      The third case is currently unsupported by the server, though, because null pipelines are not allowed.

            Assignee:
            [DO NOT USE] Backlog - Query Optimization
            Reporter:
            Varsha Subrahmanyam (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: