TinyBase logoTinyBase β

Relationships primitives

useLinkedRowIds

The useLinkedRowIds primitive gets the linked Row Ids for a given Row in a linked list Relationship, and registers a listener so that any changes to that result will cause an update. Read more.

useLinkedRowIdsListener

The useLinkedRowIdsListener primitive registers a listener function with the Relationships object that will be called whenever the linked Row Ids in a Relationship change. Read more.

useLocalRowIds

The useLocalRowIds primitive gets the local Row Ids for a given remote Row in a Relationship, and registers a listener so that any changes to that result will cause an update. Read more.

useLocalRowIdsListener

The useLocalRowIdsListener primitive registers a listener function with the Relationships object that will be called whenever the local Row Ids in a Relationship change. Read more.

useRemoteRowId

The useRemoteRowId primitive gets the remote Row Id for a given local Row in a Relationship, and registers a listener so that any changes to that result will cause an update. Read more.

useRemoteRowIdListener

The useRemoteRowIdListener primitive registers a listener function with the Relationships object that will be called whenever a remote Row Id in a Relationship changes. Read more.

useCreateRelationships

The useCreateRelationships primitive is used to create a Relationships object within a Solid application with convenient memoization. Read more.

useProvideRelationships

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

useRelationshipIds

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

useRelationships

The useRelationships primitive is used to get a reference to a Relationships object from within a Provider component context. Read more.

useRelationshipsIds

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

useRelationshipsOrRelationshipsById

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