getByItem

Returns the relationship accessible by the searchItem, it means the searchItem is the owner or the relationship is bidirectional. It does not include deleted relationships.

Return

List of relationships

Parameters

searchItem

Relationship item


fun getByItem(searchItem: RelationshipItem, includeDeleted: Boolean): List<Relationship>

Returns the relationship accessible by the searchItem, it means the searchItem is the owner or the relationship is bidirectional.

Return

List of relationships

Parameters

searchItem

Relationship item

includeDeleted

Whether to include deleted relationships or not


fun getByItem(searchItem: RelationshipItem, includeDeleted: Boolean, onlyAccessible: Boolean): List<Relationship>

Returns the relationship linked to the searchItem.

Return

List of relationships

Parameters

searchItem

Relationship item

includeDeleted

Whether to include deleted relationships or not

onlyAccessible

Whether to include only accessible relationships (owned relationships or any bidirectional relationship) or all linked relationships