SUPPORT

Mongoose ODM Support on MongoDB

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

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.

An illustration of a terminal surrounded by a cloud, keyboard, paper plane, and checkbox with 100%.
An illustration of a terminal window with an activity workflow to a generic profile silhouette

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.

An illustration of a developer typing on a laptop surrounded by a keyboard, a coding window, and coding syntax brackets

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.
Schema and Model
Establish validation rules
Define which fields are required in your MongoDB documents with Mongoose.
Validation

Resources

Learn more about working with MongoDB and Mongoose.

Get started with MongoDB and Mongoose

Explore how to use MongoDB with Mongoose to structure your data with ease.

An illustration with blobs with the MongoDB logo, the message MongoDB + Mongoose, and a play button
An illustration of a generic profile silhouette with a speech bubble over a laptop

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.

Listen now
A purple hand holding a bright green pencil writing on a series of purple documents.

Comparing Mongoose

Compare using MongoDB against using the MongoDB Node.js driver.

Read more

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.
GET STARTED FOR FREE WITH:
  • 95+ regions worldwide
  • Sample data sets
  • Always-on authentication
  • End-to-end encryption
  • Command line tool