TinyBase logoTinyBase


The Index type represents the concept of a map of Slice objects, keyed by Id.

{[sliceId: Id]: Slice}

The Ids in a Slice represent Row objects from a Table that all have a derived string value in common, as described by the setIndexDefinition method. Those values are used as the key for each Slice in the overall Index object.

Note that the Index type is not actually used in the API, and you instead enumerate and access its structure with the getSliceIds method and getSliceRowIds method.