Mongodb基本操作(-)
1.查询所有
db.getCollection('example_data_1').find({})
2.单一插入
db.getCollect i on { ’ ex ampl e_data_l ’ ) . 工nsertOne {{ " name ": "张三", "age":10 ," address ": "北京") )
批量插入
db.getCollection('example_...
原创
2019-06-01 14:05:47 ·
189 阅读 ·
0 评论