标签: java firebase key
I want to delete the value "chocolate" under a specific userid, how can I do it? I dont know how to retrieve the key "-LPff5K_qPj7heMWiNfZ:". Say I am having a string chocolate now, how can I search this word in firebase and delete it? PLEASE HELP. Thank you!
答案 0 :(得分:0)
我会这样:
更改每个用户-带有简单关键字的孩子很容易找到-我通常使用google提供的令牌,并且每次用户登录时都保持相同。 更改每个令牌-具有简单变量(如Hobby,name,ecc等)的子代。 您可以轻松地搜索每个用户和特定的孩子。 让我回家,我将发布一些代码:D