I am trying to query a firebase structured data in which I want to find out if particular nested node contains a value. The image attached is my structure. Please refer the figure.
Now my question is
I want to check if the tag
attribute which is the child confession
node has the value BE_CS_B_boy
, but I don't know the parent key of the confession
node (ie the Firebase generated UID)*. So how can I query it?
How should I traverse to get to the tag
node to query it in Firebase. Because to go to the tag
node I need to go through confession
node and to go through confession
node I need to mention the parent key (in this case it is the Firebase generated UID)
Note: My root node name is users
as shown in the image attached. Please refer the figure.