【MongoDB学习笔记6】深入MongoDB的创建/插入(insert)
> db.post.insert([{"_id":0},{"_id":1},{"_id":2}]);BulkWriteResult({
"writeErrors" : [ ],
"writeConcernErrors" : [ ],
"nInserted" : 3,
"nUpserted" : 0,
"nMatched" : 0,
"nModified" : 0,
"nRemoved" : 0,
"upserted" : [ ]
})
>
页:
[1]