Deploying and Managing Datastore
Chapter 11 described how to initialize a Datastore document database. Now, you will see how to create entities and add properties to a document database. You’ll also review backup and restore operations.
Adding Data to a Datastore Database
You add data to a Datastore database using the Entities option in the Datastore section of the console. The Entities data structure is analogous to a schema in relational databases.
You create an entity by clicking Create Entity and filling in the form that appears. Here you will need to fill in Kind, which is analogous to a table in a relational database, and Properties, as shown in Figure 12.10.

FIGURE 12.10 Adding data to a Datastore entity
After creating entities, you can query the document database using GQL, a query language similar to SQL. Figure 12.11 shows an example query using the SELECT command.

FIGURE 12.11 Query data store using GGL, a SQL-like query language
Backing Up Datastore
To...