mongoose
mongoose
  • Quick Start
  • Guides
  • Schemas
  • SchemaTypes
  • Connections
  • Models
  • Documents
  • Subdocuments
  • Queries
  • Validation
  • Middleware
  • Populate
  • Discriminators
  • Plugins
  • Transactions
  • TypeScript
  • API
  • Mongoose
  • Schema
  • Connection
  • Document
  • Model
  • Query
  • Aggregate
  • SchemaType
  • VirtualType
  • Version Compatibility
  • FAQ
  • Further Reading

Guides

Mongoose guides provide detailed tutorials on Mongoose's core concepts and integrating Mongoose with external tools and frameworks.

Mongoose Core Concepts

  • Schemas
  • SchemaTypes
  • Connections
  • Models
  • Documents
  • Subdocuments
  • Queries
  • Validation
  • Middleware
  • Populate
  • Discriminators
  • Plugins
  • Faster Mongoose Queries With Lean
  • Query Casting
  • findOneAndUpdate
  • Getters and Setters
  • Virtuals

Advanced Topics

  • Working with Dates
  • Custom Casting For Built-in Types
  • Custom SchemaTypes

Integrations

  • Promises
  • AWS Lambda
  • Browser Library
  • GeoJSON
  • Transactions
  • MongoDB Driver Deprecation Warnings
  • Testing with Jest
  • SSL Connections

Migration Guides

  • Mongoose 4.x to 5.x
  • Mongoose 3.x to 4.x