-
Type:
Task
-
Resolution: Works as Designed
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
1
-
None
-
Not Needed
-
None
-
None
-
None
-
None
-
None
-
None
Hi, when trying to place the new $setWindowFields it just fires the folowwing error.
My mongodb driver version is 4.0.1, so accordingly to the specification, it should support mongodb 5.0 features.
const prov = await Sales.aggregate([
{'$setWindowFields':
,
output: {
accumQ: {
$sum: '$lines.quantity',
widow:
}
}
}}
])
.toArray();
console.log('prov', prov);
- depends on
-
NODE-3824 Investigate NODE-3823 - Unrecognized pipeline stage name: '$setWindowFields'
-
- Closed
-