Friends, when I try to load data in firebase, I do not want it to delete the data, I want it to add other data in the same list, how can I do this.
Use append block
I add it but it doesn’t work it gives an error
Show your relevant blocks.
No this is wrong way. First you need to get the existing value from the firebase into a vatiable which is initialise with emoty list, then add iyems into this list then append the value into firebaselist
I don’t know how to do it, but can you show me with an example block?
Show your fb structure
Let me tell you the order I want to do, I created a user registration section, he wants to take the id of the users and save the photos they have taken as a link to the cloudinary and print the links next to the id of the users.
This is not called append…
Use the bucket as UsersPhoto
Store firebase value tag (user id)
Value (url)
So your fb struture will look like
UserPhoto
User1-url
User2-url
User3-url
Yes, this is not called append… This struture only i have mentioned above and that one is good to use
Append mean
User id - value1,value2,value3…
And so on
well, is there no way to sort the links by the ids of such users?
Are you looking this option to be add in admin app? Want to sort users orderly?
My purpose is to print the url of the photos sent by that user from cloudinary next to the user’s name after registration.
So you want all the images sent by user in a list wait. Let me show you
Could you please show me
unfortunately, i tried and it still gives list error