google.appengine.api.datastore_admin module
Summary
The Python datastore admin API for managing indices and schemas.
Contents
- google.appengine.api.datastore_admin.CreateIndex(index)source
Creates a new composite index in the datastore for this app.
Parametersindex – entity_pb.CompositeIndex
Returnsint, the id allocated to the index
- google.appengine.api.datastore_admin.DeleteIndex(index)source
Deletes an index. The entire index definition must be present.
Parametersindex – entity_pb.CompositeIndex
- google.appengine.api.datastore_admin.GetIndices(_app=None)source
Fetches all composite indices in the datastore for this app.
Returnslist of entity_pb.CompositeIndex
- google.appengine.api.datastore_admin.UpdateIndex(index)source
Updates an index’s status. The entire index definition must be present.
Parametersindex – entity_pb.CompositeIndex