TinyBase logoTinyBase β

getIndexIds

The getIndexIds function returns a reactive object reflecting the Ids of the Indexes in an Indexes object, and registers a listener so that any changes will update current.

getIndexIds(indexesOrIndexesId?: MaybeGetter<undefined | IndexesOrIndexesId>): {current: Ids}
TypeDescription
indexesOrIndexesId?MaybeGetter<undefined | IndexesOrIndexesId>

The Indexes object to use, or its Id.

returns{current: Ids}

A reactive object with a current Ids property.

Since

v8.1.0