命令類型 | 支援 | 不支援 |
Aggregation Commands | - aggregate
- distinct
- count
- mapReduce
| group |
Geospatial Commands | | 無 |
Query and Write Operation Commands | - insert
- update
- delete
- findAndModify
- getLastError
- getPrevError
- resetError
- parallelCollectionScan
| eval
說明 從MongoDB 3.0版本開始不支援,MongoDB 4.2版本刪除該命令。 |
Query Plan Cache Commands | - planCacheListFilters
- planCacheSetFilter
- planCacheClearFilters
- planCacheListQueryShapes
- planCacheListPlans
- planCacheClear
| 無 |
Authentication | | - authSchemaUpgrade
- copydbgetnonce
- getnonce
說明 從MongoDB 4.0版本開始不支援該命令。
|
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 | | - driverOIDTest
- connPoolStats
- shardConnPoolStats
- getCmdLineOpts
- diagLogging
|
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
- cloneCollection
|
Replication Commands | | - replSetInitiate
- replSetFreeze
- replSetMaintenance
- replSetGetConfig
- replSetRequestVotes
- replSetReconfig
- replSetStepDown
- replSetSyncFrom
- replSetElect
- replSetUpdatePosition
- resync
- appendOplogNote
|
Sharding Commands | - | - addShard
- removeShard
- getShardVersion
- setShardVersion
- unsetSharding
- checkShardingIndex
|