'Firebase get doc ID that is nested several branches up
I am trying to search for all documents that contain a field, this field is contained in many documents. It's a UID for users. I am trying to find all documents which contain a certain UID. Given the following struct:
projects > aa (or bb or cc etc many here) > projectTickets > someDocID (which contains the field).
So, I am trying to get the name of the first doc (aa for example). I am not sure how.So, I want to find all documents whose field value match the UID, and go up like 2 branches, and collect that name. Is this possible?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
