stefano
(stefano)
March 18, 2021, 11:34am
#1
I have a problem adding values to a list on firebase
I tried to use the directions of
Hi, Koders!
I observed that there were many queries on Firebase Database even me ! but eventually after trials and errors I solved the problem I had posted a solution to a Koder who had the same issue but I thought to make a more comprehensive guide on Firebase for begginers.
So lets get started!
Lets understand the blocks
The below warning is because there is no blocks associated with it.
[Firebase Database Data Changed]
This is an event triggered when the data changes in firebase, for exa…
The problem is that it overwrites instead of adding to the list.
In effect it creates the empty list and adds the first file
but then overwrites instead of adding
these are the blocks and this is the database where am I wrong?
Rogerio_Rios
(Professional Support)
March 18, 2021, 11:47am
#2
Please Reread the Guide.
Look at the blocks.
Understand how they work.
Test the blocks that do create tag in the database.
Test the blocks that exchange the content of tags that already exist.
Make an effort.
The guide on Firebase is very good.
1 Like
stefano
(stefano)
March 18, 2021, 3:59pm
#3
in fact that’s what I did but I just can’t figure out where am I wrong can you help me?
asimjib93
(Asim Jib)
March 18, 2021, 7:13pm
#4
Firebase overwrites data if you try to store value in a tag that already exists in firebase. You’ve to use different tags to store a new record.
Conclusion : You can’t have duplicate tags in firebase.
stefano
(stefano)
March 18, 2021, 8:50pm
#5
Thanks Asim but then how is it possible to insert the data in a list? for example images?
You can not add same child datas in the Parent tag… But you can use different child tag and add it under the same Parent tag.
stefano
(stefano)
March 29, 2021, 3:27pm
#7
with append value you cn append vlue some tag
dora_paz
(Dora)
March 29, 2021, 3:40pm
#8
Since you allready asked about that problem why did you opened a new topic?
Hi friends
I try add value to Firebase List with add.value block,
If i add text ok but if add cloudinary url the new erase previous one Why?
Steve
stefano
(stefano)
March 29, 2021, 8:15pm
#9
Hi I’m sorry but i try in other mode