FirebaseRTC icon indicating copy to clipboard operation
FirebaseRTC copied to clipboard

Use batch to delete firestore's data in master branch

Open t104360088 opened this issue 3 years ago • 0 comments

Hi, I found that the way to delete room data in the code is one-by-one deletion, which will make multiple connections to firestore, causing the deletion speed to be slow. Therefore, I use the batch deletion method and submit the batch operation at the end, which is much faster , I hope to contribute to the project to make it better.

The following is the link to the data deleted by firestore in batch: https://firebase.google.com/docs/firestore/manage-data/delete-data?authuser=0#node.js_2

t104360088 avatar Mar 25 '21 03:03 t104360088