Docs Home
Database Manual
Select a version
Atlas Search
Atlas Vector Search
FAQ
Collation
Connection Strings
Database Commands
DDL Operations
Default Port
Read & Write Concerns
Error Codes
Glossary
Log Messages
Limits & Thresholds
MongoDB Database Tools
Wire Protocol
mongosh Methods
Native Methods
Atlas Search Index
Atlas Stream Processing
Collections
db.collection.aggregate
db.collection.analyzeShardKey
db.collection.bulkWrite
db.collection.compactStructuredEncryptionData
db.collection.configureQueryAnalyzer
db.collection.count
db.collection.countDocuments
db.collection.createIndex
db.collection.createIndexes
db.collection.dataSize
db.collection.deleteMany
db.collection.deleteOne
db.collection.distinct
db.collection.drop
db.collection.dropIndex
db.collection.dropIndexes
db.collection.ensureIndex
db.collection.estimatedDocumentCount
db.collection.explain
db.collection.find
db.collection.findAndModify
db.collection.findOne
db.collection.findOneAndDelete
db.collection.findOneAndReplace
db.collection.findOneAndUpdate
db.collection.getIndexes
db.collection.getShardDistribution
db.collection.getShardVersion
db.collection.hideIndex
db.collection.insert
db.collection.insertMany
db.collection.insertOne
db.collection.isCapped
db.collection.latencyStats
db.collection.mapReduce
db.collection.reIndex
db.collection.remove
db.collection.renameCollection
db.collection.replaceOne
db.collection.stats
db.collection.storageSize
db.collection.totalIndexSize
db.collection.totalSize
db.collection.unhideIndex
db.collection.update
db.collection.updateMany
db.collection.updateOne
db.collection.validate
db.collection.watch
Cursors
Databases
Query Plan Caches
Bulk Operations
User Management
Role Management
Replication
Sharding
Object Constructors
Connections
Client-Side Field Level Encryption
Operators
Server Sessions
Slot-Based Query Execution Engine
Stable API
System Collections
Docs Menu