If I am saving a list in firebase is there a way to get a specific value instead of whole list from firebase database?
Most Probably NO.
(i can be wrong)
if you can Store each item in a Specific Tag, then only i think it’s Possible.
yes, it is possible
Noice answer a hint to the process would be really good
You can work with these blocks:
It works like a Queue. But the problem is, that you can only add at the end and remove at the begin.
you can use these blocks
get value using index
What if I need a specific value from 40 item list.
I am aware of this, But you will still transfer the whole list to your app
get value using item name
I think, this is not possible. You has to download the complete list.
Ok lemme explain
If 120 kb list available
As soon as you request value stored under tag
120kb list is transferred then you are selecting specific item from list
But I wanted to see if I can get specific value not the whole list.
get the Whole list from firebase as it will never increase your app size
What would be more logical and better
If I had 3x 40 item list
making single tag and storing as list
or
Single value in single tag?
Efficiency my friend. Size is never the problem
Thank you everyone for helping out.
Totally Depends on your App.
If at a time you only have the use of a Single or Two Values, then there is No Problem storing them all in a different Specific Tag.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.