Skip to content

Glossary: MongoDB

Schema

Also written: schemas

In Mongoose, the declared shape of a collection's documents, with each field's type and rules such as `required`, `min` and `default`.

Where the book teaches it

Related terms

MongooseModelSchema validation