Details
-
Bug
-
Resolution: Won't Fix
-
Major - P3
-
None
-
None
-
*Location*: https://docs.mongodb.com/getting-started/node/query/
*User-Agent*: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.84 Safari/537.36
*Referrer*: https://docs.mongodb.com/getting-started/node/insert/
*Screen Resolution*: 1366 x 768
Description
Please be aware that this page on querying a mongodb database is part of a linked series of tutorial pages that early on inserts data into the restaurants collection from the primer-dataset.json sample data set file.
So on the page where queries is introduced, although the previous page on inserting data inserted a single document, the restaurants collection is populated with a very large set of data.
The result is that when executing the query using find() with no filters, the query outputs a very large number of records. For the beginning student of mongodb, because the previous page inserted a single document, the problem may not be obvious.