eloone
eloone

Reputation: 4364

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?

Upvotes: 2

Views: 1522

Answers (1)

Stephen
Stephen

Reputation: 5770

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?

Upvotes: 3

Related Questions