Skip to content

@temporary-escape/mod-sdk / toIndexKeySlots

Function: toIndexKeySlots() ​

ts
function toIndexKeySlots(keys: number[]): IndexKeySlots;

Defined in: database/index-key.ts:126

Packs up to four pre-hashed index values into the (count, h0..h3) ABI. The host rejects a count above the database's indexed-field limit.

Parameters ​

ParameterType
keysnumber[]

Returns ​

IndexKeySlots