View source on GitHub |
Immutable object representing a single property in an index.
Inherits From: expected_type
google.appengine.ext.ndb.IndexProperty(
name, direction
)
Attributes | |
---|---|
direction
|
The direction in the index for this property, 'asc' or 'desc'. |
name
|
The property name being indexed, a string. |
Methods
__eq__
__eq__(
other
)
Compare two index properties for equality.
__ne__
__ne__(
other
)
Implement self != other as not(self == other).