In MongoDB the db.collection.find()
method selects documents in a collection or view and returns a cursor to the selected documents..
The collection
part is the name of the collection or view to search.
You can use it to return all documents, just some, or just one document. You can also specify which fields should be returned.
Continue reading