Skip to content
This repository was archived by the owner on Jul 28, 2026. It is now read-only.

Commit 254d880

Browse files
committed
Change result limit to ten
1 parent cf1dc9a commit 254d880

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/20_project_sort_limit.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
" \"pages\": 1\n",
123123
"}\n",
124124
"\n",
125-
"cursor = books.find({}, projection).sort(\"pages\", -1).skip(4).limit(5)\n",
125+
"cursor = books.find({}, projection).sort(\"pages\", -1).skip(4).limit(10)\n",
126126
"\n",
127127
"for book in cursor:\n",
128128
" print(f\"{book['title']}\")"

0 commit comments

Comments
 (0)