Skip to content

Glossary: MongoDB

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`.

Where the book teaches it

Related terms

CursorFilterProjection