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.

Parameters

index -- entity_pb.CompositeIndex

Returns

int, the id allocated to the index

google.appengine.api.datastore_admin.DeleteIndex(index)source

Deletes an index. The entire index definition must be present.

Parameters

index -- entity_pb.CompositeIndex

google.appengine.api.datastore_admin.GetIndices(_app=None)source

Fetches all composite indices in the datastore for this app.

Returns

list of entity_pb.CompositeIndex

google.appengine.api.datastore_admin.UpdateIndex(index)source

Updates an index's status. The entire index definition must be present.

Parameters

index -- entity_pb.CompositeIndex

Send feedback about...

App Engine standard environment for Python