Reputation: 27507
I noticed that firebase is not showing the buttons to delete a table when it has a lot of data in it:
My location-orders
table with a lot of data in it:
As opposed to my users
table which has 1 thing in it:
How do I delete the locations-orders
table?
Upvotes: 3
Views: 3246
Reputation: 1
You can use the postman or some auxiliary tool to execute api and make the call rest:
soon after it returns to the firebase database and its table is enabled for deletion.
Upvotes: -1
Reputation: 13164
When my database is large using x is not that useful (to be honest for some reason it doesn't appear after some number of rows for me).
So, the easiest way I've found is to use firebase cli.
First install it (You need node.js installed) with npm install -g firebase-tools
Login to your firebase project with firebase login
.
Remove data with:
firebase database:remove / --project your-project-id
/
here is location of data to delete so for your case you need:
firebase database:remove /locations-orders --project your-project-id
Upvotes: 3
Reputation: 598887
Given the amount of data, your database dashboard has switched to static, read-only mode. You cannot modify the data in this mode, so will have to get back into interactive mode first.
If you click on location-orders
you will get a view that starts at that level.
In this new view you will see an x over location-orders
. Clicking that x, deletes the location-orders
.
Upvotes: 0