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 cd28a8c commit dc3e06aCopy full SHA for dc3e06a
docs/CHANGES_4.0.0.md
@@ -63,6 +63,17 @@ interface InsertOneResult {
63
64
### Cursor changes
65
66
+#### Cursor returning functions
67
+
68
+The following methods used to accept a callback as well as return the relevant cursor.
69
+The callback parameter has now been removed and users should only use the returned cursor.
70
71
+- `Collection.find()`
72
+- `Collection.aggregate()`
73
+- `Db.aggregate()`
74
75
+#### Cursor classes
76
77
Affected classes:
78
79
- `AbstractCursor`
0 commit comments