firebase / firebase/snippets-web

No example for collectionGroup for Firestore V9 (modular) in the documentation

Open
#244 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
802
Forks
285
PR merge metrics
No merged PRs in 30d

Description

I'm upgrading a Firebase app to version 9, and I can't find in the documentation how `collectionGroup` is used.

This is an example from the current documentation

![collectionGroup-example](https://user-images.githubusercontent.com/25062718/135718970-e7d7ea79-97e2-4a61-90b0-f509fe35dcb0.jpg)
And here is the corresponding code snippet:
https://github.com/firebase/snippets-web/blob/1e8f41c904d557f486cdab2a1401ec5f6033dc39/firestore/test.firestore.js#L1089-L1094

---
From the code snippets [here](https://github.com/firebase/snippets-web/blob/1e8f41c904d557f486cdab2a1401ec5f6033dc39/snippets/firestore-next/test-firestore/fs_collection_group_query.js) on GitHub it seems like it has been already implemented, yet it doesn't appear in the documentation.
https://github.com/firebase/snippets-web/blob/1e8f41c904d557f486cdab2a1401ec5f6033dc39/snippets/firestore-next/test-firestore/fs_collection_group_query.js#L8-L14

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.