Event
{Event}  Tune in to the .local NYC keynote on June 22 at 9:30 a.m. ET for all the latest updates

Mongoose ODM Support on MongoDB

Get expert support for Mongoose object data modeling (ODM) with MongoDB.
Get Started
Download Mongoose

Expert guidance

Get best-in-class guidance and troubleshooting for Mongoose from MongoDB Support. Support for Mongoose comes at no additional cost for customers using dedicated clusters (M10+) on MongoDB Atlas.

Clear escalation paths

Established support agreements and escalation paths between MongoDB and Mongoose mean you’ll never bounce back and forth between organizations searching for answers.

Technical vetting of Mongoose releases

MongoDB’s team of experts rigorously tests new Mongoose releases to ensure they are compatible with MongoDB and meet appropriate performance benchmarks.

Mongoose Features
mdb_schema_visualization

Schemas to structure your data

Mongoose schemas map to your MongoDB collections and documents to create a structure for your data.

general_action_best_practices

Customizable validation

Mongoose comes with built-in validators and the option to create custom validators and error messages.

mdb_query

Additional helper methods

Mongoose comes with a variety of helper methods for CRUD operations and queries.

atlas_functions

Middleware functions

Middleware functions in Mongoose let you run certain functions automatically before or after specific actions.

How to get started with Mongoose and MongoDB

Although you’re not required to use an ODM like Mongoose with MongoDB, it can help with data modeling. To get started with Mongoose, check out the following tutorial and code snippets.
Get Started
Structure your MongoDB data
Write your Mongoose schema, which maps to your MongoDB collection and documents and helps define your data model.
Establish validation rules
Define which fields are required in your MongoDB documents with Mongoose.
Structure your MongoDB data
Write your Mongoose schema, which maps to your MongoDB collection and documents and helps define your data model.
Schema and Model
Establish validation rules
Define which fields are required in your MongoDB documents with Mongoose.
Schema and Model
Schema and Model

Resources

Learn more about working with MongoDB and Mongoose.
This is an image
Get started with MongoDB and Mongoose
Explore how to use MongoDB with Mongoose to structure your data with ease.

The Mongoose ODM with Val Karpov

Why do developers love Mongoose? Listen to the MongoDB Podcast and hear from Val Karpov, the Mongoose ODM maintainer.

Use Mongoose with MongoDB on Atlas today

Get started in seconds. Our free clusters come with 512 MB of storage so you can play around with sample data and get oriented with our platform.
Try Free
GET STARTED FOR FREE WITH:
  • 25 regions worldwide
  • Sample data sets
  • Always-on authentication
  • End-to-end encryption
  • Command line tool