Data types

Datastore supports many data types for properties. Basic types include numbers such as integers and doubles, strings, timestamps, Booleans, and blobs. Additionally, there are a few more complex types such as arrays, embedded entities, and geographic points.

Much like varying properties within entities of a given kind, the same property may have a different data type across entities of the same kind. This too must be accounted for when interacting with Datastore data, and uniformity must again be enforced at the application level.

Get Building Google Cloud Platform Solutions now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.