Search code examples
firebasegoogle-cloud-firestorefirebase-console

Does deleting a collection in the firebase/firestore console delete all sub collections?


I am aware of how to delete sub collections when a parent collection is deleted programmatically however I can't find any documentation on what happens when you delete a parent collection from the console manually.

Follow up question:

Is there a way to check for undeleted sub collections? I assume these use up storage.


Solution

  • I just tested what happens in the Firebase console when you delete a collection, and it shows this dialog:

    enter image description here

    So it looks like deleting a collection in the console also deletes any subcollections under it.