On Wednesday, April 15, 2015 at 8:09:02 AM UTC-7, Ryan Barrett wrote:
>
> looks like yesterday's 1.9.19 release raised the limit on string
> properties in the datastore from 500 to 1500 chars. awesome!
>
1500 UTF-8 bytes actually (not to be confused with other ways of measuring
string length).
>
> from google/appengine/api/datastore_types.py:
>
> _MAX_STRING_LENGTH = 1500
>
> tested in https://shell-27.appspot.com/ :
>
> >>> from google.appengine.ext import db
> >>> class Foo(db.Expando):
> pass
> >>> key = Foo(long='x'*1490).put()
> >>> foo = Foo.get(key)
> >>> len(foo.long)
> 1490
>
> app engine team, might be worth adding this to the release notes and docs?
>
> https://code.google.com/p/googleappengine/wiki/SdkReleaseNotes
> https://cloud.google.com/appengine/docs/python/ndb/properties#types
>
>
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-appengine/9e9b7d13-8dac-4cee-895d-fcc32aff8cb4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.