Skip to content
Advertisement

Tag: firebase-realtime-database

dataSnapshot could not get parent push key value

I want dataSnapshot to check if “month” exists in its parent’s “summary”. But dataSnapshot is returning that it does not have “month” in “summary” My Firebase Database: I want to check the value (blue line) from its parent(red line) My Firebase Database Answer The following line of code: Returns the key of the node on which the reference is pointing

Advertisement