Skip to main content
Version: 5.7.0

SysCreateIndex

Creates a new index on a custom entity collection.

ServiceOperation
customEntitySYS_CREATE_INDEX

Usage

http://localhost:3000
// Cloud Code only. To view example, switch to the Cloud Code tab

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.