In Fuego, you can delete Firestore documents in two ways: manually selecting them or using a query to filter the documents to be deleted.
Manual Deletion
- Navigate to the desired collection.
- Select the documents you want to delete by clicking on the checkboxes.
- Use the menu that appears when selecting documents, showing the number of selected items, and choose
Delete. - Confirm the deletion in the prompt that appears.
Deletion via Query
- Open the collection where the documents are stored.
- Click on
Toolsand selectDelete documents. - In the delete panel, enable
Filtersto specify deletion criteria. - Configure conditions based on attributes such as string matching or date ranges.
- Optionally, enable
Also delete subcollectionsif nested documents should be removed. - Click
Confirmto execute the deletion.
This approach allows for bulk deletion based on specific conditions, reducing manual effort when handling large datasets.
Deleting Collections and Subcollections
In addition to deleting individual documents, Fuego also allows the deletion of entire collections or subcollections:
- Navigate to the collection you want to delete.
- Click on
Toolsand selectDelete collection. - If you need to delete a subcollection, first navigate into it and repeat the process.
- Confirm the deletion when prompted.
Be cautious when deleting collections, as this action is irreversible and will remove all documents and subcollections within them.
.
