HUNORSDBKBP
All skills
Databases

Mongoose

MongoDB object modelling for Node.js applications. Schemas and models connect documents to the structures and checks expected by the code.

Official documentation

What is it used for?

  1. Defining schemas, defaults and document-level validation.

  2. Organising database operations around reusable models.

  3. Managing document references and middleware around persistence operations.

Mongoose | Kovács Balázs Péter