Skip to main content
Version: 5.7.0

SysCreateIndex

Creates a new index on a custom entity collection.

ServiceOperation
customEntitySYS_CREATE_INDEX

Method Parameters

ParameterDescription
entityTypeThe entity type identifying the applicable custom entity collection.
indexNameThe name to assign to the new index.
indexKeysJsonThe field index keys, as JSON object.
indexOptsJsonThe index options, as JSON object.

Usage

http://localhost:3000
// S2S call: to view example, switch to the Cloud Code or Raw tab.