Constructs a FilterPredicate from the given name, op and values.
google.appengine.datastore.datastore_query.make_filter(
name, op, values
)
Args |
name
|
A non-empty string, the name of the property to filter.
|
op
|
One of PropertyFilter._OPERATORS.keys(), the operator to use.
|
values
|
A supported value, the value to compare against.
|
Returns |
if values is a list, a CompositeFilter that uses AND to combine all
values, otherwise a PropertyFilter for the single value.
|
Raises |
datastore_errors.BadPropertyError
|
if the property name is invalid.
|
datastore_errors.BadValueError
|
if the property did not validate correctly
or the value was an empty list.
Other exception types (like OverflowError): if the property value does not
meet type-specific criteria.
|