InterviewSolution
Saved Bookmarks
| 1. |
How to perform queries in MongoDB? |
|
Answer» The find method is used to PERFORM queries in MongoDB. Querying returns a subset of documents in a collection, from no documents at all to the entire collection. Which documents GET returned is DETERMINED by the first argument to find, which is a DOCUMENT specifying the query criteria. Example: |
|