If you want to remove the entire child, then just use: ref. child(“mockChild”). removeValue(); 27 Eyl 2017
Read moreHow do I delete a child from Realtime Database?
The simplest way for deleting data is to call removeValue() on a reference to the location of that data. We can also delete data by specifying null as the value for another write operation such as setValue() or updateChildren().
Read moreHow do I delete my Firebase account?
To close an account:
Read moreHow do I delete my Firebase account?
To close an account:
Read moreHow do I remove items from Firebase?
The following examples demonstrate how to delete documents, fields, and collections.
Read moreHow do I remove items from firestore?
In Firebase Firestore, for deleting a document, the delete() method is used:
Read more