0

I'd like to get an array of all the documents that are in a collection.

Ie I have a file.struture like this

database.doc(`users/${user}/characters/characterA/data/${type}`)

I want to get a list of all the characters within the "characters" collections and I would really like to use the .doc() method to generate the random IDs for characters

Frank van Puffelen
  • 565,676
  • 79
  • 828
  • 807
Luke Olson
  • 81
  • 1
  • 3
  • There is currently no way to query subcollections across multiple documents. See https://stackoverflow.com/questions/46573014/firestore-query-subcollections – Frank van Puffelen Jan 25 '18 at 05:00
  • 2
    Possible duplicate of [Firestore query subcollections](https://stackoverflow.com/questions/46573014/firestore-query-subcollections) – Frank van Puffelen Jan 25 '18 at 05:00

0 Answers0