Ok, I don’t know if ‘branched/tree’ data storage makes any sense, coz I made it up now. I worked with firebase a looong time ago. But now when I opened it, many new things have been added. (Something like collections, documents, fields, etc etc ie cloud firestore)
I know how to simply store and get values like this:
UserID=password
Userid2=password2
Userid3=password3
Etc etc.
But I need to know if I can do this:
UserID{
Name=bfc
Password=passwordexample
Contactno=12638392028
Marks:{
Test1=23
Test2 =55
}
}
I hope you are getting the idea. I want multiple variables to be linked with a unique ID, and through that, I should be able to get data from all those variable.
It’s easy to do this in Airtable, but since only 5 requests can be made/sec, I don’t want to take that risk.
Can anyone help me with this nested/branched (idk) data storage problem?
You can make an infinite number of child tags. But it is generally advised to keep the nesting to a max of 3 levels. Due to the way Firebase works, fetching a tag first fetches all its parents. So multiple nested layers can slow down your app significantly.