Firebase Cloud Functions Triggers with Two varibles
Although firebase functions document not mentioned about how many varible values can be exhist in firebase onWrite() tirgger , I have used it upto 2 levles without any issue.
For an exaplen in the blow code , I have consider the change in list under the userId ,,
The value will be wrriten under the varible of user.
exports.testFunctionName = functions.database.ref('/user-list/{user}/{pushId}').onWrite(( change,context) => {
const original = change.after.val();
var pushId=context.params.pushId;
var userId=context.params.user;
...
For an exaplen in the blow code , I have consider the change in list under the userId ,,
The value will be wrriten under the varible of user.
exports.testFunctionName = functions.database.ref('/user-list/{user}/{pushId}').onWrite(( change,context) => {
const original = change.after.val();
var pushId=context.params.pushId;
var userId=context.params.user;
...
Casino Player Reviews & Ratings - Dr.MD
ReplyDeleteFind unbiased Casino Player 여주 출장안마 Reviews & ratings from all 양산 출장안마 Canada's top Online 경주 출장마사지 Casinos & Games Casino Player Rating, Best Casinos, 나주 출장마사지 Bonus Codes & Promotions. Rating: 2.8 · Review by 광양 출장마사지 Dr.Mcd