View source on GitHub |
Transforms multiple index definitions to composite index records.
google.appengine.datastore.datastore_index.IndexDefinitionsToProtos(
app_id, index_definitions
)
Args | |
---|---|
app_id
|
Application id for new protocol buffer CompositeIndex .
|
index_definition
|
A list of datastore_index.Index objects to transform. |
Returns | |
---|---|
A list of transformed entity_pb2.CompositeIndex entities with default values set and index information filled in. |