全部产品
存储与CDN 数据库 安全 应用服务 数加·人工智能 数加·大数据基础服务 互联网中间件 视频服务 开发者工具 解决方案 物联网
云数据库 MongoDB 版

云数据库 MongoDB 支持及限制哪些命令?

更新时间:2017-11-02 16:08:02

MongoDB 官方命令表: http://docs.mongodb.org/master/reference/command/

以下为云数据库 MongoDB 版支持的命令表。

Aggregates Commands Geospatial Commands Query and Write Operation Commands Query Plan Cache Commands Authentication
该类别的命令全部支持 该类别的命令全部支持 insert 该类别的命令全部支持 logout
aggregate geoNear update planCacheListFilters authenticate
distinct geoSearch delete planCacheSetFilter -
count - findAndModify planCacheClearFilters getnonce
group - getLastError planCacheListQueryShapes -
mapReduce - getPrevError planCacheListPlans -
- - resetError planCacheClear -
- - parallelCollectionScan - -
- - eval - -
User Management Commands Role Management Commands Replication Commands Diagnostic Diagnostic Commands Instance Administration Commands
该类别的命令全部支持 该类别的命令全部支持 isMaster explain renameCollection
createUser createRole applyOps listDatabases dropDatabase
updateUser updateRole - dbHash listCollections
dropUser dropRole - listCommands drop
dropAllUsersFromDatabase dropAllRolesFromDatabase - availableQueryOptions create
grantRolesToUser grantPrivilegesToRole - buildInfo cloneCollection
revokeRolesFromUser revokePrivilegesFromRole - collStats cloneCollectionAsCapped
usersInfo grantRolesToRole - dbStats convertToCapped
- revokeRolesFromRole - cursorInfo filemd5
- rolesInfo - dataSize createIndexes
- invalidateUserCache - ping listIndexes
- - - profile dropIndexes
- - - top fsync
- - - whatsmyuri connectionStatus
- - - serverStatus collMod
- - - features reIndex
- - - isSelf touch
- - - validate getParameter

以下为云数据库 MongoDB 版不支持的命令表。

Authentication Replication Commands Diagnostic Commands Instance Administration Commands Sharding Commands
authSchemaUpgrade replSetInitiate driverOIDTest copydb addShard
copydbgetnonce replSetFreeze connPoolStats clone removeShard
- replSetMaintenance shardConnPoolStats clean getShardVersion
- replSetGetConfig getCmdLineOpts shutdown setShardVersion
- replSetRequestVotes netstat logRotate unsetSharding
- replSetReconfig diagLogging repairDatabase checkShardingIndex
- replSetStepDown hostInfo repairCursor -
- replSetSyncFrom - compact -
- replSetElect - setParameter -
- replSetUpdatePosition - connPoolSync -
- resync - setReadonly -
- appendOplogNote - cloneCollection -
本文导读目录