Home
|
简体中文
|
繁体中文
|
杂文
|
Github
|
知乎专栏
|
Facebook
|
Linkedin
|
Youtube
|
打赏(Donations)
|
About
第 46 章 MongoDB Shell
上一页
部分 V. MongoDB
下一页
知乎专栏
第 46 章 MongoDB Shell
目录
46.1. shutdownServer
46.2. show 查看命令
46.2.1. show dbs
46.2.2. show collections
46.2.3. show users
46.2.4. show profile
46.3. 切换数据库
46.4. Collection 管理
46.4.1. 创建 Collection
46.4.2. 删除 collection
46.4.3. 删除字段
46.5. save
46.6. insert
46.7. update
46.7.1. multi 更新所有数据
46.7.2. upsert 更新,如果不存在则插入数据
46.7.3. updateMany 更新集合中的所有数据
46.8. remove
46.8.1. 删除条件使用 _id
46.9. count()
46.10. 查询
46.10.1. find() MongoDB 2.x
46.10.2. find() MongoDB 3.x
46.10.3. group()
46.11. aggregate
46.11.1. project
46.11.2. groupby + sum
46.12. Indexes 索引
46.12.1. 查看索引
46.12.2. 创建索引
46.12.3. 删除索引
46.12.4. 唯一索引
46.12.5. 复合索引
46.12.6. 稀疏索引
46.13. Map-Reduce
46.13.1. 使用 Map-Reduce 统计Web 服务器 access.log 日志文件
46.14. 内嵌对象
46.14.1. Array / List 列表类型
46.15. Javascript 脚本
46.1. shutdownServer
关闭MongoDB数据库
db.shutdownServer()