I can't seem to find the following information in the Firestore docs:
AutoID
?You cannot have several documents with the same ID in one Collection: a document ID must be unique across a collection.
Document ID size The size of a document ID is either the string size for a string ID or 8 bytes for an integer ID.
The documentation says that the limit for all document IDs is 1500 bytes.
The names of documents within a collection are unique. You can provide your own keys, such as user IDs, or you can let Cloud Firestore create random IDs for you automatically.
You will find the responses in this documentation item: https://firebase.google.com/docs/firestore/quotas#collections_documents_and_fields
Constraints on document IDs
- Must be valid UTF-8 characters
- Must be no longer than 1,500 bytes
- Cannot contain a forward slash (/)
- Cannot solely consist of a single period (.) or double periods (..)
- Cannot match the regular expression
__.*__
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With