When storing String
fields with App Engine:
length()
of the String
that App Engine
datastore can handle?Based on updates to Google Datastore documentation from October, 2016, here are the limits
Maximum size of an indexed string property's UTF-8 encoding: 1,500 bytes
Maximum size for an unindexed property: 1,048,487 bytes (1 MiB - 89 bytes)
So you can store strings close to 1MB in size in an unindexed String
property.
Objectify will automatically convert Strings of more than 500 characters to native Text storage. Be careful if you are indexing strings; Text objects are not indexed so the String > 500 chars will be unindexed.
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