是否可以使用 angularfire2 在 Firestore 中创建 top-level collections?

Is it possible to create a top-level collections in Firestore with angularfire2?

阅读 collection 上的 Angularfire GitHub 页面并没有揭示我如何创建 top-level collection。

是否可以通过 SDK 创建 top-level collection?

当您向它们写入文档时,会自动创建集合。这同样适用于顶级集合或嵌套集合。

因此,如果您按照 adding documentation to a collection 中的说明进行操作,您将创建一个集合。