Aggregation Commands |
- aggregate
- distinct
- count
- group
- mapReduce
|
无 |
Geospatial Commands |
|
无 |
Query and Write Operation Commands |
- insert
- update
- delete
- findAndModify
- getLastError
- getPrevError
- resetError
- parallelCollectionScan
|
eval(从4.2版开始不支持) |
Query Plan Cache Commands |
- planCacheListFilters
- planCacheSetFilter
- planCacheClearFilters
- planCacheListQueryShapes
- planCacheListPlans
- planCacheClear
|
无 |
Authentication |
- logout
- authenticate
- getnonce
|
- authSchemaUpgrade
- copydbgetnonce
|
User Management Commands |
- createUser
- updateUser
- dropUser
- dropAllUsersFromDatabase
- grantRolesToUser
- revokeRolesFromUser
- usersInfo
|
无 |
Role Management Commands |
- createRole
- updateRole
- dropRole
- dropAllRolesFromDatabase
- grantPrivilegesToRole
- revokePrivilegesFromRole
- grantRolesToRole
- revokeRolesFromRole
- rolesInfo
- invalidateUserCache
|
无 |
Diagnostic Commands |
- explain
- listDatabases
- dbHash
- listCommands
- availableQueryOptions
- buildInfo
- collStats
- dbStats
- cursorInfo
- dataSize
- ping
- profile
- top
- whatsmyuri
- serverStatus
- features
- isSelf
- validate
|
- driverOIDTest
- connPoolStats
- shardConnPoolStats
- getCmdLineOpts
- netstat
- diagLogging
- hostInfo
|
Instance Administration Commands |
- renameCollection
- dropDatabase
- listCollections
- drop
- create
- cloneCollectionAsCapped
- convertToCapped
- filemd5
- createIndexes
- listIndexes
- dropIndexes
- fsync
- connectionStatus
- collMod
- reIndex
- touch
- getParameter
- compact
|
- copydb
- clone
- clean
- shutdown
- logRotate
- repairDatabase
- repairCursor
- setParameter
- connPoolSync
- setReadonly
- cloneCollection
|
Replication Commands |
|
- replSetInitiate
- replSetFreeze
- replSetMaintenance
- replSetGetConfig
- replSetRequestVotes
- replSetReconfig
- replSetStepDown
- replSetSyncFrom
- replSetElect
- replSetUpdatePosition
- resync
- appendOplogNote
|
Sharding Commands |
- |
- addShard
- removeShard
- getShardVersion
- setShardVersion
- unsetSharding
- checkShardingIndex
|