O'Reilly logo

Mastering Google App Engine by Mohsin Shafique Hijazee

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. Queries, Indexes, and Transactions

Till now, we have examined the internals of datastore, how it is built on top of BigTable, and how we can model our data around it. This, of course, makes us store whatever we want to, but it is useless until we can retrieve what was stored. Datastore provides us with a way to query the stored data with two parallel interfaces. One is an API, which is used to query data, and another is an SQL-like language called Google Query Language (GQL).

In this chapter, we will learn the following:

  • Querying your data
  • The way queries work and the limitations of what can be queried
  • The query API and GQL
  • Transactions

So, that's a tall order. Let's start our journey.

Querying your data

Before we can query some data, we should ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required