Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to delete entries from firebase

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 ?!

like image 575
Ahmed Awad Avatar asked Oct 30 '14 07:10

Ahmed Awad


1 Answers

There's a removeValue() method on the Firebase object:

Documentation

Setting a location's value to null essentially removes the node from the structure.

like image 182
jsfrocha Avatar answered Oct 02 '22 06:10

jsfrocha



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!