This repository was archived by the owner on Mar 17, 2025. It is now read-only.
This repository was archived by the owner on Mar 17, 2025. It is now read-only.
Help needed with updating firebase Database #363
Open
Description
Hi there,
How can I update certain tags using set() function or something simillar in firebase without deleting previous data.
I am using the code below for updating my DB:
`
JsonObject& FirebaseRequest2 = jsonBuffer.createObject();
FirebaseRequest2["Command"] = 0;
FirebaseRequest2["Status"] = "ON";
FirebaseRequest2["deviceID"] = DeviceID;
Firebase.set("/Devices/" + DeviceID, FirebaseRequest2);
`
But I have another tag named "Permitted" under "Devices" tag which I don't want to change but when I run my program as it is, It deletes the "Permitted" tag. Please help me out with it. _/_