If i have the following Firebase structure:
root:
    id1:
        subId1:
           prop: False
        subId2:
           prop: True
    id2:
        subId1:
    id3:
        subId1:
           prop: False
        subId2:
           prop: False
How would I return root, with the full tree structure, but only containing the inner-most sub-records where prop is False?
So i'd expect the query for the above to return:
root:
    id1:
        subId1:
           prop: False
only root and prop are known properties, the iD and subId fields are dynamically generated.
I've added an index for prop however the query i'm using (python) gets me no results:
db.reference('/root').order_by_child("prop").equal_to(False).get()
 
    