Details
-
Task
-
Resolution: Done
-
Minor - P4
-
mongodb-2.6
-
None
Description
http://docs.mongodb.org/manual/release-notes/2.6/#aggregation-pipeline-changes
Syntax in example has flaws:
db.test.aggregate(
{ $match: {} },
{ $redact: { $cond: [
,
"$$CONTINUE",
"$$PRUNE" ]
}
}
)
Should be:
db.files.aggregate( [
{ $match: {} },
{ $redact: { $cond: [
,
"$$CONTINUE",
"$$PRUNE" ]
}
}
] )