TinyBase logoTinyBase

RemoteRowIdListener

The RemoteRowIdListener type describes a function that is used to listen to changes to the remote Row Id end of a Relationship.

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

A reference to the Relationships object that changed.

relationshipIdId

The Id of the Relationship that changed.

localRowIdId

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

returnsvoid

This has no return value.

A RemoteRowIdListener is provided when using the addRemoteRowIdListener method. See that method for specific examples.

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