Home
|
简体中文
|
繁体中文
|
杂文
|
Github
|
知乎专栏
|
Facebook
|
Linkedin
|
Youtube
|
打赏(Donations)
|
About
第 13 章 MongoDB Shell
上一页
部分 II. MongoDB
下一页
知乎专栏
第 13 章 MongoDB Shell
目录
13.1. shutdownServer
13.2. show 查看命令
13.2.1. show dbs
13.2.2. show collections
13.2.3. show users
13.2.4. show profile
13.3. 切换数据库
13.4. Collection 管理
13.4.1. 创建 Collection
13.4.2. 删除 collection
13.4.3. 删除字段
13.5. save
13.6. insert
13.7. update
13.7.1. multi 更新所有数据
13.7.2. upsert 更新,如果不存在则插入数据
13.7.3. updateMany 更新集合中的所有数据
13.8. remove
13.8.1. 删除条件使用 _id
13.9. count()
13.10. 查询
13.10.1. find() MongoDB 2.x
13.10.2. find() MongoDB 3.x
13.10.3. group()
13.11. aggregate
13.11.1. project
13.11.2. groupby + sum
13.12. Indexes 索引
13.12.1. 查看索引
13.12.2. 创建索引
13.12.3. 删除索引
13.12.4. 唯一索引
13.12.5. 复合索引
13.12.6. 稀疏索引
13.13. Map-Reduce
13.13.1. 使用 Map-Reduce 统计Web 服务器 access.log 日志文件
13.14. 内嵌对象
13.14.1. Array / List 列表类型
13.15. Javascript 脚本
13.1. shutdownServer
关闭MongoDB数据库
db.shutdownServer()