get By Item
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
search Item
Relationship item
Returns the relationship accessible by the searchItem, it means the searchItem is the owner or the relationship is bidirectional.
Return
List of relationships
Parameters
search Item
Relationship item
include Deleted
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
search Item
Relationship item
include Deleted
Whether to include deleted relationships or not
only Accessible
Whether to include only accessible relationships (owned relationships or any bidirectional relationship) or all linked relationships