Reference¶
- Operators
- Documentation of query, update, projection, and aggregation framework operators.
- Database Commands
- Documentation of all MongoDB database commands operations, syntax, and use.
- mongo Shell Methods
- Documentation of all JavaScript methods and helpers in the mongo shell.
- MongoDB Package Components
- Documentation of mongod and mongos and all other tools distributed with MongoDB.
- Configuration File Options
- Full documentation of the configuration file and available run-time operations.
- MongoDB Server Parameters
- Documentation of all mongod and mongos parameters that are available in the setParameter (command) and setParameter run-time interface.
- MongoDB Limits and Thresholds
- A list of important limits and thresholds imposed by MongoDB.
- Explain Results
- Documentation on information returned from explain operations.
- Connection String URI Format
- The complete specification of the MongoDB connection string format that the drivers use to describe connections to MongoDB deployments.
- MongoDB Wire Protocol
- Description of the MongoDB Wire Protocol.
- Log Messages
- Describes the components of log messages.
- Glossary
- A glossary of common terms and concepts specific to MongoDB.
- Default MongoDB Port
- List of default ports used by MongoDB.
See also
The Index may provide useful insight into the reference material in this manual. The MongoDB CRUD Reference Data Model Reference, Sharding Reference, Replication Reference, and Security Reference contain additional reference material.
- Operators
- Query and Projection Operators
- Update Operators
- Aggregation Pipeline Operators
- Pipeline Aggregation Stages
- Boolean Aggregation Operators
- Set Operators (Aggregation)
- Comparison Aggregation Operators
- Arithmetic Aggregation Operators
- $abs (aggregation)
- $add (aggregation)
- $ceil (aggregation)
- $divide (aggregation)
- $exp (aggregation)
- $floor (aggregation)
- $ln (aggregation)
- $log (aggregation)
- $log10 (aggregation)
- $mod (aggregation)
- $multiply (aggregation)
- $pow (aggregation)
- $sqrt (aggregation)
- $subtract (aggregation)
- $trunc (aggregation)
- $abs (aggregation)
- String Aggregation Operators
- Text Search Aggregation Operators
- Array Aggregation Operators
- Aggregation Variable Operators
- Aggregation Literal Operators
- Date Aggregation Operators
- Conditional Aggregation Operators
- Group Accumulator Operators
- Database Commands
- Aggregation Commands
- Geospatial Commands
- Query and Write Operation Commands
- Query Plan Cache Commands
- Authentication Commands
- User Management Commands
- Role Management Commands
- Replication Commands
- Sharding Commands
- Administration Commands
- renameCollection
- copydb
- dropDatabase
- listCollections
- drop
- create
- clone
- cloneCollection
- cloneCollectionAsCapped
- convertToCapped
- filemd5
- createIndexes
- listIndexes
- dropIndexes
- fsync
- clean
- connPoolSync
- connectionStatus
- compact
- collMod
- reIndex
- setParameter
- getParameter
- repairDatabase
- repairCursor
- touch
- shutdown
- logRotate
- renameCollection
- Diagnostic Commands
- Internal Commands
- Testing Commands
- System Events Auditing Commands
- mongo Shell Methods
- Collection Methods
- db.collection.aggregate()
- db.collection.bulkWrite()
- db.collection.count()
- db.collection.copyTo()
- db.collection.createIndex()
- db.collection.dataSize()
- db.collection.deleteOne()
- db.collection.deleteMany()
- db.collection.distinct()
- db.collection.drop()
- db.collection.dropIndex()
- db.collection.dropIndexes()
- db.collection.ensureIndex()
- 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.group()
- db.collection.insert()
- db.collection.insertOne()
- db.collection.insertMany()
- db.collection.isCapped()
- db.collection.mapReduce()
- db.collection.reIndex()
- db.collection.replaceOne()
- db.collection.remove()
- db.collection.renameCollection()
- db.collection.save()
- db.collection.stats()
- db.collection.storageSize()
- db.collection.totalSize()
- db.collection.totalIndexSize()
- db.collection.update()
- db.collection.updateOne()
- db.collection.updateMany()
- db.collection.validate()
- db.collection.aggregate()
- Cursor Methods
- cursor.batchSize()
- cursor.close()
- cursor.comment()
- cursor.count()
- cursor.explain()
- cursor.forEach()
- cursor.hasNext()
- cursor.hint()
- cursor.itcount()
- cursor.limit()
- cursor.map()
- cursor.maxScan()
- cursor.maxTimeMS()
- cursor.max()
- cursor.min()
- cursor.next()
- cursor.noCursorTimeout()
- cursor.objsLeftInBatch()
- cursor.pretty()
- cursor.readConcern()
- cursor.readPref()
- cursor.returnKey()
- cursor.showRecordId()
- cursor.size()
- cursor.skip()
- cursor.snapshot()
- cursor.sort()
- cursor.tailable()
- cursor.toArray()
- cursor.batchSize()
- Database Methods
- db.cloneCollection()
- db.cloneDatabase()
- db.commandHelp()
- db.copyDatabase()
- db.createCollection()
- db.currentOp()
- db.dropDatabase()
- db.eval()
- db.fsyncLock()
- db.fsyncUnlock()
- db.getCollection()
- db.getCollectionInfos()
- db.getCollectionNames()
- db.getLastError()
- db.getLastErrorObj()
- db.getLogComponents()
- db.getMongo()
- db.getName()
- db.getPrevError()
- db.getProfilingLevel()
- db.getProfilingStatus()
- db.getReplicationInfo()
- db.getSiblingDB()
- db.help()
- db.hostInfo()
- db.isMaster()
- db.killOp()
- db.listCommands()
- db.loadServerScripts()
- db.logout()
- db.printCollectionStats()
- db.printReplicationInfo()
- db.printShardingStatus()
- db.printSlaveReplicationInfo()
- db.repairDatabase()
- db.resetError()
- db.runCommand()
- db.serverBuildInfo()
- db.serverCmdLineOpts()
- db.serverStatus()
- db.setLogLevel()
- db.setProfilingLevel()
- db.shutdownServer()
- db.stats()
- db.version()
- db.upgradeCheck()
- db.upgradeCheckAllDBs()
- db.cloneCollection()
- Query Plan Cache Methods
- Bulk Operation Methods
- Bulk()
- db.collection.initializeOrderedBulkOp()
- db.collection.initializeUnorderedBulkOp()
- Bulk.insert()
- Bulk.find()
- Bulk.find.removeOne()
- Bulk.find.remove()
- Bulk.find.replaceOne()
- Bulk.find.updateOne()
- Bulk.find.update()
- Bulk.find.upsert()
- Bulk.execute()
- Bulk.getOperations()
- Bulk.tojson()
- Bulk.toString()
- Bulk()
- User Management Methods
- Role Management Methods
- Replication Methods
- Sharding Methods
- sh._adminCommand()
- sh.getBalancerLockDetails()
- sh._checkFullName()
- sh._checkMongos()
- sh._lastMigration()
- sh.addShard()
- sh.addShardTag()
- sh.addTagRange()
- sh.removeTagRange()
- sh.disableBalancing()
- sh.enableBalancing()
- sh.enableSharding()
- sh.getBalancerHost()
- sh.getBalancerState()
- sh.help()
- sh.isBalancerRunning()
- sh.moveChunk()
- sh.removeShardTag()
- sh.setBalancerState()
- sh.shardCollection()
- sh.splitAt()
- sh.splitFind()
- sh.startBalancer()
- sh.status()
- sh.stopBalancer()
- sh.waitForBalancer()
- sh.waitForBalancerOff()
- sh.waitForDLock()
- sh.waitForPingChange()
- sh._adminCommand()
- Subprocess Methods
- Object Constructors and Methods
- Connection Methods
- Native Methods
- Collection Methods
- MongoDB Package Components
- Configuration File Options
- MongoDB Server Parameters
- MongoDB Limits and Thresholds
- Explain Results
- Connection String URI Format
- MongoDB Wire Protocol
- Log Messages
- Glossary
- Default MongoDB Port
© MongoDB, Inc 2008-2016. MongoDB, Mongo, and the leaf logo are registered trademarks of MongoDB, Inc.