We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdb614d commit db3f800Copy full SHA for db3f800
lib/aggregation_cursor.js
@@ -202,7 +202,7 @@ class AggregationCursor extends Cursor {
202
/**
203
* Add a unwind stage to the aggregation pipeline
204
* @method
205
- * @param {number} field The unwind field name.
+ * @param {(string|object)} field The unwind field name or stage document.
206
* @return {AggregationCursor}
207
*/
208
unwind(field) {
0 commit comments