LogoRobo.js
Framework

buildIndexKey()

Function: buildIndexKey()

function buildIndexKey(
   modelName, 
   field, 
   indexType?, 
   namespace?): string

Build a sorted index key.

Parameters

ParameterTypeDescription
modelNamestringThe model name
fieldstringThe indexed field name
indexType?stringOptional index type for plugin indexes
namespace?stringOptional namespace

Returns

string

Sorted index key

On this page