Skip to content
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
@sabersingh

Description

@sabersingh

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. _/_

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions