-
Type: Bug
-
Resolution: Unresolved
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Optimization
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.