数据库结构通知结构在成功地将我的函数部署到firebase之后,我在firebase函数日志中出现了这些错误。error' at exports.sendNotification.functions.firestore.document.onWrite.event=
functions.firestore</
我需要关于firestore功能的帮助。我正在开发一个需要通知的应用程序,我使用firebase作为后端,我对云函数功能完全陌生。所以当一个文档被添加到集合中时,我想向用户发送一个通知,我试着为函数设置了一些东西,但由于我不知道的原因不起作用,我的Node Js是更新的版本,firebase工具更新了,但我仍然收到错误。'use strict'
co
是每个触发器合并云函数,还是为同一个触发器编写多个函数?特别是,如果我在里面看文件..。是否有显着的性能或帐单影响?// Example: multiple onWrite functions triggered by the same Firestore doc path
functions.firestore.document('myCollection/{itemId}').onWrite((ch