官术网_书友最值得收藏!

Cloud Datastore

Cloud Datastore is a NoSQL document database used to store key-value pair objects; they can be queried using an SQL-like language called GQL. Cloud Datastore provides options to index certain properties of the object stored. Applications can create entities of any kind dynamically and add data to those entities. GQL is a language using which developers can write queries to query the datastore by kind and property values. To get started, click on the top left menu () and choose Datastore under the Storage category. Create an entity as shown in the first screenshot.

Use Google Cloud Datastore for application logging and versioning of objects and objects that are bound to change their structure over the time. Cloud Datastore provides the option to maintain different sets of properties for the same kind of object.

The following screenshot shows how to create an entity of kind named EmployeeDetails, define its properties, and add values to the properties. It is similar to defining a class in object-oriented programming, instantiating it, and initializing its field values and properties:

To explore the list of entities of the same kind, you can use GQL to query the objects based on their property values, as shown in following screenshot:

主站蜘蛛池模板: 嘉鱼县| 大宁县| 吴江市| 习水县| 民县| 连城县| 元朗区| 崇仁县| 汽车| 敦煌市| 丰城市| 长武县| 青川县| 大宁县| 静海县| 西峡县| 华阴市| 石泉县| 灵武市| 鄂托克旗| 加查县| 安庆市| 资溪县| 集安市| 同江市| 宜昌市| 安岳县| 宁安市| 沙雅县| 建水县| 延安市| 雷山县| 河源市| 都昌县| 桐乡市| 土默特左旗| 隆林| 酒泉市| 巴彦淖尔市| 绥德县| 富裕县|