View source on GitHub |
Transforms individual Index definition to protocol buffer.
google.appengine.datastore.datastore_index.IndexDefinitionToProto(
app_id, index_definition
)
Args | |
---|---|
app_id
|
Application id for new protocol buffer CompositeIndex .
|
index_definition
|
datastore_index.Index object to transform.
|
Returns | |
---|---|
New entity_pb2.CompositeIndex with default values set and index
information filled in.
|