Hey Koders,
I’m here to learn, how to add values in existing values in Firebase database. Example for better understanding:
Like I have a tag in which 15 is stored and then I want to store add 10 in existing value, Means-by it should added like (existing value + current value) 15 + 10 = 25 and now 25 will be stored in that tag in Firebase database.
Is it possible to do that, please reply to this question as soon as possible. (I’m waiting)
First of all welcome to community! You can do the same with “Get Value” block and after receiving add your preferred number then by “Store Value” block store the updated data.
First of all get your value from firebase like my tag is Number and i set get value from tag Number after receive the value simple store it anyware and when you want to update value set block store data tag Number and in value set stored value + new value.
Thanks for your response,
Please provide me a quick blocks if possible so.
Actually value is in 8 decimal places
like 0.00002356
and adding to eight decimal places also
Why my data is delete automatically means when I store anything in firebase and after that I store one more time anything than the previous stored thing delete and new one come … I want. To store multiple tags