Search code examples
google-app-enginegcloud-node

How to save text of more than 1500 bytes on Google datastore with gcloud-node?


According to https://cloud.google.com/appengine/docs/python/datastore/typesandpropertyclasses?hl=en I should use a Blob type but I don't see such type in gcloud-node. Is it something yet to be implemented? How can I save long text in datastore using gcloud-node?


Solution

  • If a property is not indexed, you can store up to 1 MB. (Reference)

    See this example for how to disable indexing explicitly.

    Have you tried saving data and received an error?