在 Cloud Functions for Firebase 中,例如:
exports.makeUppercase = functions.database.ref('/messages/{pushId}/original')
.onWrite(event => {
//how to access data at another node, for example
//important/messages/{pushId}
})
例如,如何在另一个节点读取数据/important/messages/{pushId}
?谢谢