mongo shell是MongoDB自带的一种交互式JavaScript shell,可在shell肿使用命令行与MongoDB实例交互。
mongo shell 是MongoDB发行版的一部分.需要自行下载
step1:安装mongoDB
step2:建库,插入数据,更新、删除数据,查询数据
删库
step3:退出mongoDB
self.cvm.exec_cmd("exit")