Framework
buildIndexKey()
Function: buildIndexKey()
function buildIndexKey(
modelName,
field,
indexType?,
namespace?): stringBuild a sorted index key.
Parameters
| Parameter | Type | Description |
|---|---|---|
modelName | string | The model name |
field | string | The indexed field name |
indexType? | string | Optional index type for plugin indexes |
namespace? | string | Optional namespace |
Returns
string
Sorted index key
