Is there a way to check if a document has a collection rather than checking if it has fields Thanks
Asked
Active
Viewed 680 times
-1
-
Your question is kind of vague, since everything in firebase is essentially a field. Can you clarify what you mean by a collection? – TheCog19 Mar 28 '18 at 12:58
1 Answers
2
There are no client SDK APIs for listing subcollections of a document.

Doug Stevenson
- 297,357
- 32
- 422
- 441