This must be staring me in the face, but don't see the command. How do I delete an unused Firebase DB from the Console in the new Firebase? And Google did not help with an answer, which is kind of a first.
To delete an entire collection or subcollection in Cloud Firestore, retrieve all the documents within the collection or subcollection and delete them.
In order to delete multiple entries from your database, you need to know all those locations (refernces). So with other words, in the way you add data, you should also delete it. This method atomically deletes all those entries.
Another way if you don't want to delete the project, and just the database, is to create a file on your computer empty.json
like this:
{}
Then click on the ...
and "Import JSON"
Then "Browse" and upload your empty file:
You overwrite your database with an empty JSON file, effectively "deleting" the old database.
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