Skip to content

Commit a415b14

Browse files
Added summary
1 parent 3731578 commit a415b14

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

java/10_find_project.ipynb

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,18 @@
415415
" .projection(projection)\n",
416416
" .forEach(book -> System.out.println(\"Book: \" + book.toJson()));"
417417
]
418+
},
419+
{
420+
"cell_type": "markdown",
421+
"id": "8c3f11c5",
422+
"metadata": {},
423+
"source": [
424+
"## Summary\n",
425+
"\n",
426+
"In this section, we learned how to use `find()` to query documents from a MongoDB collection and apply filters such as `eq()`, `gt()`, `gte()`, and `and()` to narrow down the results.\n",
427+
"\n",
428+
"We also explored projections with `include()`, `excludeId()`, and `fields()` to control which fields are returned, helping us retrieve only the data we actually need."
429+
]
418430
}
419431
],
420432
"metadata": {

0 commit comments

Comments
 (0)