Skip to content

Commit fda0f52

Browse files
Add more detail to hint on exercise
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 6ce5f38 commit fda0f52

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎python/100_aggregation_pipeline_match.ipynb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
"metadata": {},
7474
"source": [
7575
"### Exercise: get all books from 2010 or 2012 and with less than 200 pages\n",
76-
"Use { $and: [ {field: value1}, {field: value2} ] } to express field == value1 AND field == value2 Hint: use Less Than {field: {$lt: value}}"
76+
"Hint: combine the year condition with the pages condition, for example using { $and: [ { year: { $in: [2010, 2012] } }, { pages: { $lt: 200 } } ] } or a nested $or for the year values."
7777
]
7878
},
7979
{

0 commit comments

Comments
 (0)