Firebase - Helpful Tips

drutan

Member
I wasn't sure exactly where to put this but it took me a long time to figure out so I thought i could help some people searching.

here is how to query a document in Firebase
Firebase Query Document.png


From here if you want to then update a field you have to get the user id out of the document name with python


python.png


The you use that to find the document you want to update
Firebase Update Document.png


It seems very simple in hindsight but it took me awhile to figure out. Hope this helps someone.

-D
 
Top