如何删除Firebase中的条目 [英] How to delete entries from firebase
本文介绍了如何删除Firebase中的条目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在探索Firebase的功能,如何使用java代码从firebase中删除节点或条目时遇到问题?我搜索了他们的API ..网页版本确实提供了remove()函数,但是java并没有这样做!! Firebase
对象上的 removeValue()
方法:
将一个位置的值设置为 null
从本质上将该节点从结构中移除。
I'm exploring the functions of Firebase, I'm having trouble on how to delete nodes or entries from firebase using java code ? I searched their API .. the web version does provide remove() function, but the java doesn't ?!
解决方案
There's a removeValue()
method on the Firebase
object:
Setting a location's value to null
essentially removes the node from the structure.
这篇关于如何删除Firebase中的条目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文