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 77a707a commit 5723f55Copy full SHA for 5723f55
docs/40-CRUD/3-ORDER-LIMIT.mdx
@@ -86,5 +86,15 @@ This returns the **top 10 available books** in the "Science Fiction" genre.
86
```
87
</div>
88
</TabItem>
89
+ <TabItem value="python" label="Python">
90
+ <div>
91
+ ```python
92
+ books_sorted_by_title = books.find({}).sort("title", 1).limit(10)
93
+
94
+ for book in books_sorted_by_title:
95
+ print(book)
96
+ ```
97
+ </div>
98
+ </TabItem>
99
</Tabs>
100
</details>
0 commit comments