【mongodb系统学习之九】mongodb保存数据
<p style="margin-top:5.76pt; margin-bottom:0pt; margin-left:0.38in; text-indent:-0.38in; direction:ltr; unicode-bidi:embed; word-break:normal">
<span style="font-size:24pt; font-family:黑体"><stron
【mongodb系统学习之二】mongodb的启动
<p style="margin-top:5.76pt; margin-bottom:0pt; margin-left:0.38in; text-indent:-0.38in; direction:ltr; unicode-bidi:embed; word-break:normal">
<span style="font-size:24pt; font-family:黑体"><stron
MongDB的安装和基本操作 一(权限设置)
安装MongoDB
Mac: 最懒人的方法就是命令行: brew install mongodb 关于什么是brew和怎么安装可以在网上查,安装完成默认路径如下:
cd/bin后就能看见mongodb常用命令:
mongod 打开数据库服务器
mongo 进入mongodb shell
本地默端口是27017
执行mongod时可能会有一些错误,常
bulk更新mongodb的脚本
bulk批处理mongodb,比普通的js脚本来的更快一些。
官方网址:https://docs.mongodb.com/manual/reference/method/Bulk/
bulk支持的方法:
Name
Description
Bulk.