![]() |
App Engine Python SDK
v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
|
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 |
![]() | |
def | run |
def | run_async |
def | __getstate__ |
![]() | |
def | __eq__ |
def | __ne__ |
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.
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.