In this chapter you learned about using find()
and findOne()
to find objects in a database. The next chapter expands on those methods and provides more complex examples of how to filter, sort, and limit the results returned when finding objects in a collection.