TinyBase logoTinyBase β

Indexes primitives

useSliceRowIds

The useSliceRowIds primitive gets the list of Row Ids in a given Slice, and registers a listener so that any changes to that result will cause an update. Read more.

useSliceRowIdsListener

The useSliceRowIdsListener primitive registers a listener function with the Indexes object that will be called whenever the Row Ids in a Slice change. Read more.

useCreateIndexes

The useCreateIndexes primitive is used to create an Indexes object within a Solid application with convenient memoization. Read more.

useIndexIds

The useIndexIds primitive gets an array of the Index Ids registered with an Indexes object, and registers a listener so that any changes to that result will cause an update. Read more.

useIndexes

The useIndexes primitive is used to get a reference to an Indexes object from within a Provider component context. Read more.

useIndexesIds

The useIndexesIds primitive is used to retrieve the Ids of all the named Indexes objects present in the current Provider component context. Read more.

useIndexesOrIndexesById

The useIndexesOrIndexesById primitive is used to get a reference to an Indexes object from within a Provider component context, or have it passed directly to this primitive. Read more.

useProvideIndexes

The useProvideIndexes primitive is used to add an Indexes object by Id to a Provider component, but imperatively from a component within it. Read more.

useSliceIds

The useSliceIds primitive gets the list of Slice Ids in an Index, and registers a listener so that any changes to that result will cause an update. Read more.

useSliceIdsListener

The useSliceIdsListener primitive registers a listener function with the Indexes object that will be called whenever the Slice Ids in an Index change. Read more.