Home
|
简体中文
|
繁体中文
|
杂文
|
Github
|
知乎专栏
|
Facebook
|
Linkedin
|
Youtube
|
打赏(Donations)
|
About
第 38 章 MongoDB Shell
上一页
部分 IV. MongoDB
下一页
知乎专栏
第 38 章 MongoDB Shell
目录
38.1. shutdownServer
38.2. show 查看命令
38.2.1. show dbs
38.2.2. show collections
38.2.3. show users
38.2.4. show profile
38.3. 切换数据库
38.4. Collection 管理
38.4.1. 创建 Collection
38.4.2. 删除 collection
38.4.3. 删除字段
38.5. save
38.6. insert
38.7. update
38.7.1. multi 更新所有数据
38.7.2. upsert 更新,如果不存在则插入数据
38.7.3. updateMany 更新集合中的所有数据
38.8. remove
38.8.1. 删除条件使用 _id
38.9. count()
38.10. 查询
38.10.1. find() MongoDB 2.x
38.10.2. find() MongoDB 3.x
38.10.3. group()
38.11. aggregate
38.11.1. project
38.11.2. groupby + sum
38.12. Indexes 索引
38.12.1. 查看索引
38.12.2. 创建索引
38.12.3. 删除索引
38.12.4. 唯一索引
38.12.5. 复合索引
38.12.6. 稀疏索引
38.13. Map-Reduce
38.13.1. 使用 Map-Reduce 统计Web 服务器 access.log 日志文件
38.14. 内嵌对象
38.14.1. Array / List 列表类型
38.15. Javascript 脚本
38.1. shutdownServer
关闭MongoDB数据库
db.shutdownServer()