In the "Simulator" built into the Firebase site is it possible to simulate deleting a node?
I tried entering the path to a node in the URL field (e.g. /my/path/-JCNAUFZJFJMGX1RYWJL
) and I entered {}
into the data field but I think this just simulates adding nothing as apposed to deleting.
In Firebase, writing a null
value is equivalent to removing the data at a given reference (i.e. ref.set(null)
is effectively the same as ref.remove()
), and thus using a null
value is an effective way to test removing data in the simulator.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With