我正试图从一个防火墙云函数中更改/创建一个消防站文档中的一些值,但却找不到它,可能会错过一些非常简单的东西。
exports.onEnterDetails = functions.firestore.document('accounts/{accountId}')
.onCreate((snapshot, context) => {
// grab values from the document
const values = snap.data();
// do stuff with the values the user put in
...
})
如何在同一个消防局文档中更改值/创建新条目,以及如何将其中一些新条目返回给前端(网站)的用户?
https://stackoverflow.com/questions/71272270
复制相似问题