Skip to content

Glossary: MongoDB

lean()

Also written: lean

A Mongoose query method that returns plain objects instead of full Mongoose documents, which is faster for reading.

Where the book teaches it

Related terms

MongooseModel