In Cloud Functions for Firebase, for example:
exports.makeUppercase = functions.database.ref('/messages/{pushId}/original')
.onWrite(event => {
//how to access data at another node, for example
//important/messages/{pushId}
})
How to do I read data at another node, for example /important/messages/{pushId}? Thanks