Flutter & Firebase: Please add a function to get all sub-collection in a specific collection in the Flutter. #9657
Unanswered
SittiphanSittisak
asked this question in
Feature request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
For example, I have collections A and B. A and B have sub-collections with the same name as C. I would like to get all sub-collections C in collection A.
For using this below will get all sub-collections C in collections A and B.
FirebaseFirestore.instance.collectionGroup('C').get()
For using this below must get big data before receiving sub-collection.
Please add a function to get all sub-collection in a specific collection like
FirebaseFirestore.instance.collectionGroup('C', collectionReference: FirebaseFirestore.instance.collection('A')).get()
.Beta Was this translation helpful? Give feedback.
All reactions