View source on GitHub |
Immutable object representing an index.
Inherits From: expected_type
google.appengine.ext.ndb.Index(
kind, properties, ancestor
)
Attributes | |
---|---|
ancestor
|
Whether this is an ancestor index, a bool. |
kind
|
The kind being indexed, a string. |
properties
|
A list of PropertyIndex objects giving the properties being indexed. |
Methods
__eq__
__eq__(
other
)
Compare two indexes.
__ne__
__ne__(
other
)
Implement self != other as not(self == other).