add (db.collection.add)添加数据

db.collection('cheshi').add({
data: {
cheshi:4,
}
}).then((res) => {
console.log(res)
})

 

 

posted @ 2018-09-14 16:04  ThisCall  阅读(2469)  评论(0编辑  收藏  举报