TinyBase logoTinyBase

LocalRowIdsListener

The LocalRowIdsListener type describes a function that is used to listen to changes to the local Row Id ends of a Relationship.

(
  relationships: Relationships,
  relationshipId: Id,
  remoteRowId: Id,
): void
TypeDescription
relationshipsRelationships

A reference to the Relationships object that changed.

relationshipIdId

The Id of the Relationship that changed.

remoteRowIdId

The Id of the remote Row whose local Row Ids changed.

returnsvoid

This has no return value.

A LocalRowIdsListener is provided when using the addLocalRowIdsListener method. See that method for specific examples.

When called, a LocalRowIdsListener is given a reference to the Relationships object, the Id of the Relationship that changed, and the Id of the remote Row whose local Row Ids changed.