Closed
Description
Mark Paluch opened DATAMONGO-1391 and commented
MongoDB 3.2 introduces an enhanced syntax for $unwind
:
{
$unwind:
{
path: <field path>,
includeArrayIndex: <string>,
preserveNullAndEmptyArrays: <boolean>
}
}
The currently supported syntax contains only the path
Reference URL: https://docs.mongodb.org/manual/reference/operator/aggregation/unwind/
Referenced from: pull request #355