Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
None
-
None
-
None
Description
http://docs.mongodb.org/manual/reference/command/aggregate/
If I try using this as is:
{ $group : {
|
_id : { tags : 1 },
|
authors : { $addToSet : "$author" }
|
}
|
it'll give me
exception: field inclusion is not allowed inside of $expressions
Changing _id to _id: '$tags' gives the expected result.