5

Is there any naming convention for document id in FireStore. I created some documents inside a collection with the date in "yyyy-mm-dd" as the id. When i try to get all documents inside the collection i got the snapshot size as zero. When I put a dummy doc with test as id I got only the test doc not the other docs.

My document structure

firestore structure

Sneh Pandya
  • 7,801
  • 7
  • 33
  • 50
suhail c
  • 1,109
  • 1
  • 15
  • 38
  • post your code so we could see where is the problem – Ali Faris Jan 29 '18 at 09:16
  • Figured out the problem. Its not the naming convention. Its because documents has no fields inside. https://stackoverflow.com/questions/47731794/why-are-non-auto-generated-document-ids-are-in-italics-in-firestore-console – suhail c Jan 29 '18 at 09:25

1 Answers1

2

The contraints can be seen here Quotas and Limits if you scroll down to the bottom you will find contraints on ids, paths and field names.

Kim
  • 1,060
  • 8
  • 17