DataStore wont allow me to save byte[]

39 views
Skip to first unread message

tonycavanagh1929

unread,
May 17, 2019, 9:50:31 AM5/17/19
to Google App Engine

I thought DataStore Allows you to save byte [], but I am getting an error 

 [B is not a supported property type.]. I thought. datastore is supposed to autoconfigure it into  blobvalue.

George (Cloud Platform Support)

unread,
May 22, 2019, 11:56:23 AM5/22/19
to Google App Engine
Hi again Tony, 

In fact, Byte string (short) and Byte string (long) are supported data types. You can gather more detail on the "Entities, Properties, and Keys" page

tonycavanagh1929

unread,
May 22, 2019, 12:03:51 PM5/22/19
to Google App Engine
Thank you for reply,  I found to save byte [] I had to wrap it as a Blob.
Reply all
Reply to author
Forward
0 new messages