firestore-backup-restore
firestore-backup-restore copied to clipboard
Clear collection
There is any flag/attribute/command to clear the collection prior to a restore?
Pull request: https://github.com/dalenguyen/firestore-backup-restore/pull/20
I would also like to see this. Another library has a similar function - but the library isn't maintained anymore.
https://github.com/jloosli/node-firestore-import-export#clearing
Some sort of function for a recursive delete would be useful - since a lot of the helper functions already exist in this library.