How to get the key from the value in firebase

前端 未结 7 2041
挽巷
挽巷 2020-12-01 10:04

How do I get the key \"-KLpcURDV68BcbAvlPFy\" when I know the field \"name\" contains \"efg\" in the following structure in Firebase.

clubs
    -KLpcURDV68Bc         


        
7条回答
  •  爱一瞬间的悲伤
    2020-12-01 10:17

    If this key (asdasdasddsad) also had the name:"efg" will club key will become asdasdasddsad and KLpcURDV68BcbAvlPFy

提交回复
热议问题