View source on GitHub |
Index property attributes required to satisfy a query.
Inherits From: expected_type
google.appengine.datastore.datastore_index.PropertySpec(
name, direction=None, mode=None
)
Attributes | |
---|---|
direction
|
|
mode
|
|
name
|
Methods
CopyToIndexPb
CopyToIndexPb(
pb
)
Satisfies
Satisfies(
other
)
Determines whether existing index can satisfy requirements of a new query.
Used in finding matching postfix with traditional "ordered" index specs.
__eq__
__eq__(
other
)
Return self==value.
__ge__
__ge__(
other
)
Return self>=value.
__gt__
__gt__(
other
)
Return self>value.
__le__
__le__(
other
)
Return self<=value.
__lt__
__lt__(
other
)
Return self<value.
__ne__
__ne__(
other
)
Return self!=value.