App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | List of all members
google.appengine.datastore.datastore_query.Query Class Reference
Inheritance diagram for google.appengine.datastore.datastore_query.Query:
google.appengine.datastore.datastore_query._BaseQuery google.appengine.datastore.datastore_query._BaseComponent

Public Member Functions

def __init__
 
def app
 
def namespace
 
def kind
 
def ancestor
 
def filter_predicate
 
def order
 
def group_by
 
def __repr__
 
def run_async
 
- Public Member Functions inherited from google.appengine.datastore.datastore_query._BaseQuery
def run
 
def run_async
 
def __getstate__
 
- Public Member Functions inherited from google.appengine.datastore.datastore_query._BaseComponent
def __eq__
 
def __ne__
 

Detailed Description

An immutable class that represents a query signature.

A query signature consists of a source of entities (specified as app,
namespace and optionally kind and ancestor) as well as a FilterPredicate,
grouping and a desired ordering.

Constructor & Destructor Documentation

def google.appengine.datastore.datastore_query.Query.__init__ (   self,
  app = None,
  namespace = None,
  kind = None,
  ancestor = None,
  filter_predicate = None,
  group_by = None,
  order = None 
)
Constructor.

Args:
  app: Optional app to query, derived from the environment if not specified.
  namespace: Optional namespace to query, derived from the environment if
not specified.
  kind: Optional kind to query.
  ancestor: Optional ancestor to query, an entity_pb.Reference.
  filter_predicate: Optional FilterPredicate by which to restrict the query.
  order: Optional Order in which to return results.
  group_by: Optional list of properties to group the results by.

Raises:
  datastore_errors.BadArgumentError if any argument is invalid.

The documentation for this class was generated from the following file: