Is it possible to list all collections of a DocumentReference? I found old questions but all answers are outdated by Firestore SDK or require that I already know the name of collections.
Asked
Active
Viewed 51 times
0
-
I'm not a Firebase expert, but have you tried [this method](https://cloud.google.com/nodejs/docs/reference/firestore/0.15.x/DocumentReference#getCollections) with `let documentRef = firestore.doc('/');` ? It's in the latest version docs – Francisco Hanna Aug 24 '18 at 16:24
-
Nothing has changed. You still can't list subcollections from a client, and it's not likely that you'll be able to do so in the future. – Doug Stevenson Aug 24 '18 at 16:40