1.查询指定字段
db.matrixSignals.find(({}, { id: “607d9de3d95bfe9620234f2f” })
2.清空
db.myCollection.remove({})
wx62e0d796b5814 博主文章分类:mongodb ©著作权
1.查询指定字段
db.matrixSignals.find(({}, { id: “607d9de3d95bfe9620234f2f” })
2.清空
db.myCollection.remove({})
linux基础:常用指令
mongodb常用命令mongodb由C++写就,其名字来自humongous这个单词的中间部分
数据库操作,集合操作,文档基本CRUD,文档的分页查询,文档的更多查询,常用命令查询
最近安装了Mongo数据库,下面是常用命令: 进入mongoDB mongo 进入默认的admin数据库 use
一、操作mongoDB数据库 启动mongodb: cd D:\MongoDB\bin mongod.exe --dbpath=E:\data\db  
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M