快速删除集合中的所有文档和子集合

时间:2020-07-20 20:13:10

标签: firebase google-cloud-firestore

嗨,我有这种情况,想知道如何使用Firebase函数完全擦除集合中的数据

-Collection
    -Document
       -Subcollection
           -... Repeat indefinitely 

无论集合有多深入,它都是我可以从整个集合及其文档和子集合中使用的代码

p.s。我想使用firebase函数来做到这一点

0 个答案:

没有答案