-1

Is there a way to check if a document has a collection rather than checking if it has fields Thanks

Jama Mohamed
  • 3,057
  • 4
  • 29
  • 43
  • 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 Answers1

2

There are no client SDK APIs for listing subcollections of a document.

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