提交 bfbb37fd 编写于 作者: 雪洛's avatar 雪洛

Update cf-database.md

上级 9bbcee7b
......@@ -660,10 +660,8 @@ collection.where({name: dbCmd.eq('hey')}).update({
const dbCmd = db.command
db.collection('photo').doc('doc-id').update({
count: dbCmd.set({
property: dbCmd.set({
fav: 1,
follow: 1
})
fav: 1,
follow: 1
})
}).then(function(res) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册