Details
-
Bug
-
Resolution: Unresolved
-
Major - P3
-
None
-
None
-
None
-
Query Optimization
Description
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.