正在获取 angular Firestore 中的所有集合?
Fetching all collections in angular Firestore?
我想获取项目中的所有集合名称。
是否可以从 angular Firebase 项目中获取所有集合名称。
我看到了这个问题,它没有为 angular firestore 提供答案。
Fetching all collections in Firestore
所以这不是一个重复的问题。谢谢
正如您在问题 (Fetching all collections in Firestore) 中提到的 SO question/answer 中所解释的,没有客户端 API (Android, iOS, web) 列出 collections(顶部 collections 或 sub-collections)。
因为,如果我没记错的话,使用 angular(和 angularfire2)你正在构建一个 "client" 应用程序(使用网络 API hood) 你不会找到任何 API。
您可以在特定 Firestore 文档中维护 collection 的列表,即当您以编程方式创建 collection 时,您会更新此列表。
我想获取项目中的所有集合名称。 是否可以从 angular Firebase 项目中获取所有集合名称。
我看到了这个问题,它没有为 angular firestore 提供答案。 Fetching all collections in Firestore
所以这不是一个重复的问题。谢谢
正如您在问题 (Fetching all collections in Firestore) 中提到的 SO question/answer 中所解释的,没有客户端 API (Android, iOS, web) 列出 collections(顶部 collections 或 sub-collections)。
因为,如果我没记错的话,使用 angular(和 angularfire2)你正在构建一个 "client" 应用程序(使用网络 API hood) 你不会找到任何 API。
您可以在特定 Firestore 文档中维护 collection 的列表,即当您以编程方式创建 collection 时,您会更新此列表。