snapshot.ref.toString().substring(snapshot.ref.root.toString().length - 1)
this code will help with that
references:
https://stackoverflow.com/questions/58045946/how-can-i-retrieve-the-full-path-to-a-child-node-using-orderbychild-equalto
No comments:
Post a Comment