How do you edit data using the Web API? (Because the firebase components don’t offer that much of using it with operations like Create, Read, Update, Delete. All we get is Save (Create, Update) and Get (Read) for the firebase components (And you don’t get to use the cloud storage of firebase.))
Delete is basically overwriting the existing data and is accomplished by SAVING null values to the required key.
You can do all the crud with Firebase data using the cloud variables.
I’ve been poking at our team about the second point. Would our community benefit from having the Firebase login access token so a user can then also use Firebase storage/ functions/ firestore
At the moment we only have access via blocks to Firebase authentication and real time database.
Not actually saving NULL values, but delete the property itself.
When you save null to the parent key, all child keys are removed (deleted).
deleting the child keys and the value of the property without putting any null value, and making sure it can’t be restored just by changing the value.
Or do I have to code a function to edit without parsing from JSON (like not editing it the normal way?)
Can you give an example of this? A before and after example?
Have you tried @muneer’s suggestion for saving a null value to the parent key… and did that work for you?
Nope. It didn’t work.
Can you provide an example?
I know it always works.
This is decent information but not enough to help. Can you show what you’ve tried?
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.