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 a2d36e9 commit faa91f6Copy full SHA for faa91f6
docs/source/NEWS.rst
@@ -22,6 +22,10 @@ API Changes
22
- `find()` method now returns `Cursor()` instance that can be used as async generator to
23
asynchronously iterate over results. It can still be used as Deferred too, so this change
24
is backward-compatible.
25
+- `Cursor()` options can be by chaining its methods, for example:
26
+ ::
27
+ async for doc in collection.find({"size": "L"}).sort({"price": 1}).limit(10).skip(5):
28
+ print(doc)
29
- `find_with_cursor()` is deprecated and will be removed in the next release.
30
31
0 commit comments