![]() |
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 | op |
def | filters |
def | __repr__ |
def | __eq__ |
![]() | |
def | __call__ |
![]() | |
def | __eq__ |
def | __ne__ |
Static Public Attributes | |
string | AND = 'and' |
An immutable filter predicate that combines other predicates. This class proactively merges sub-filters that are combined using the same operator. For example: CompositeFilter(AND, [f1, f2, CompositeFilter(AND, [f3, f4]), f5, f6]) is equivalent to: CompositeFilter(AND, [f1, f2, f3, f4, f5, f6]) Currently filters can only be combined using an AND operator.
def google.appengine.datastore.datastore_query.CompositeFilter.__init__ | ( | self, | |
op, | |||
filters | |||
) |
Constructor. Args: op: The operator to use to combine the given filters filters: A list of one or more filters to combine Raises: datastore_errors.BadArgumentError if op is not in CompsiteFilter.OPERATORS or filters is not a non-empty list containing only FilterPredicates.