You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can I update just one field like FName or invoiceID or multiple fields within one block? Since this is a second level element, I am not sure how to write the query? Do I need to use the set function? If so, how do I specify the key?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I have a DB Structure like this:
{
"_default": {
"3": {
"Stripe": {
"invoiceID": "inv1",
"invoiceVersion": 0,
"Status": "CREATED",
"FName": "John",
"LName": "Doe",
"Email": "[email protected]",
"PhoneNo": "+19999999999"
},
"cancelEvent": 0,
"eventVersion": 0
}
}
}
How can I update just one field like FName or invoiceID or multiple fields within one block? Since this is a second level element, I am not sure how to write the query? Do I need to use the set function? If so, how do I specify the key?
Thanks in anticipation.
Beta Was this translation helpful? Give feedback.
All reactions