find / findOne
Also written: find(), findOne()
Methods that read documents using a filter and optional projection. `find` returns a cursor, and `findOne` returns the first match or `null`.
Also written: find(), findOne()
Methods that read documents using a filter and optional projection. `find` returns a cursor, and `findOne` returns the first match or `null`.