Reputation: 403
I have a long text of String that I want to store in a firestore document field. I know that each document has a limit of 1mb of size. Does that mean my string will only be as long as 1mb in size?
Upvotes: 2
Views: 1187
Reputation: 317467
Yes, if you have a single string field in a document, it will be limited to the maximum size of a document.
Large amounts of content that don't need to indexed for querying are usually better stored in a product such as Cloud Storage rather than Cloud Firestore.
Upvotes: 3