Details
-
Bug
-
Resolution: Cannot Reproduce
-
Major - P3
-
None
-
None
-
*Location*: https://docs.mongodb.org/manual/reference/operator/aggregation/filter/
*User-Agent*: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36
*Referrer*: https://www.google.com/
*Screen Resolution*: 1920 x 1080
Description
I tried this exact example and I'm getting the following error:
2016-05-02T10:42:40.553-0700 E QUERY Error: command failed:
{ "errmsg" : "exception: invalid operator '$filter'", "code" : 15999, "ok" : 0 } : aggregate failed
at Error (<anonymous>)
at doassert (src/mongo/shell/assert.js:11:14)
at Function.assert.commandWorked (src/mongo/shell/assert.js:254:5)
at DBCollection.aggregate (src/mongo/shell/collection.js:1278:12)
at (shell):1:8 at src/mongo/shell/assert.js:13