Every datastore query uses an index, a table that contains the
results for the query in the desired order. An App Engine application
defines its indexes in a configuration file named
The index-based query mechanism supports most common kinds of queries, but it does not support some queries you may be used to from other database technologies. Restrictions on queries, and their explanations, are described below.