google.appengine.api.datastore_admin module
bookmark_borderbookmark
Stay organized with collections
Save and categorize content based on your preferences.
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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-04-04 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-04-04 UTC."],[],[]]