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

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

原文地址:https://www.cnblogs.com/dianzan/p/9647188.html