thanks for reply my question,!!! :)
but i can't solve the problem yet.
my example is =
var entity = {
title: data.title,
name: data.name,
contents: data.contents
}
follow your advice
var entity = {
title: data.title,
name: data.name,
contents: data.contents,
excludeFromIndexes: true
}
but same error message... :(
2017년 4월 17일 월요일 오전 2시 7분 48초 UTC+9, Adam (Cloud Platform Support) 님의 말:
>
> You'll need to save the text as an unindexed property. To do this, you
> need to store the value explicitly as an array to specify excludeFromIndexes:
> true, eg.
>
> var entity = { key: datastore.key('Company'), data: [ { name:
> 'description', value: "Some long text greater than 1500 bytes ...",
> excludeFromIndexes: true } ] };
>
> More details can be found in the documentation for google-cloud-node
> <https://googlecloudplatform.github.io/google-cloud-node/#/docs/google-cloud/v0.52.0/datastore?method=save>
> .
>
> On Sunday, April 16, 2017 at 12:06:09 PM UTC-4, 김진형 wrote:
>>
>> i wonder how to save longtext data in node.js
>>
>>
>> when datastore web page
>> i can select 'text' type
>>
>> but in nodejs i can't find how to string to text type
>>
>> please help
>>
>>
>> i do not want to see that error message:
>> Error: The value of property "content" is longer than 1500 bytes.
>>
>
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-appengine/e98c0947-c634-4fc3-b869-e3170ddafeb7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.