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

  • Learning Google BigQuery
  • Thirukkumaran Haridass Eric Brown
  • 206字
  • 2021-07-02 21:24:00

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:

主站蜘蛛池模板: 南部县| 衢州市| 南木林县| 杭锦旗| 都江堰市| 马尔康县| 连云港市| 五家渠市| 张家界市| 德清县| 玉溪市| 义乌市| 泸定县| 师宗县| 镇赉县| 普定县| 阿合奇县| 农安县| 衡东县| 平凉市| 仙游县| 南汇区| 炎陵县| 金昌市| 顺平县| 海林市| 三门峡市| 弥勒县| 武鸣县| 竹溪县| 连江县| 大安市| 扎鲁特旗| 那曲县| 景泰县| 五华县| 石首市| 曲阳县| 张掖市| 应城市| 东丽区|