在哪里可以找到有关 firebase-tools.firestore.delete 的文档?

Where can I find documentation about firebase-tools.firestore.delete?

deleting a whole collection, there is an example using firebase_tools.firestore.delete. Where can I find documentation about this function? I only found it mentioned in the CLI reference 上的 Firestore 指南中,但细节不多。

在大多数情况下,firebase-tools 库仅用于 Firebase 项目的 CLI。所以该命令的文档在 CLI 的参考文档中,但对于 Firestore delete command.

来说它确实有点轻量级

幸运的是,firebase-tools 库是 open-source,因此您可以通过查看代码来检查它到底做了什么。 firestore:delete命令实现here and here.

如果您在实现类似功能时 运行 遇到具体问题,或者对此有具体问题,我建议发布这些具体问题 problems/questions。例如:该命令确实删除了子集合。