3

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:

enter image description here

As opposed to my users table which has 1 thing in it:

enter image description here

How do I delete the locations-orders table?

3 Answers 3

3

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

Sign up to request clarification or add additional context in comments.

Comments

0

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.

1 Comment

This will only work provided that location-orders itself does not contain so many records that static read-only mode is activated, otherwise the CLI is the way to go
-1

You can use the postman or some auxiliary tool to execute api and make the call rest:

postman image

soon after it returns to the firebase database and its table is enabled for deletion.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.