outgoing()
Usage
outgoing(node, relType)
outgoing(node)
Description
Returns all outgoing relationships, with an optional qualifying relationship type. This method can for example be used in the Function Query section of a Repeater Element to access the relationships of a node. See also incoming()
and has_relationship()
.
Example
${outgoing(me, 'OWNS')}
results in
[org.structr.core.entity.relationship.PrincipalOwnsNode@5977, org.structr.core.entity.relationship.PrincipalOwnsNode@596f, org.structr.core.entity.relationship.PrincipalOwnsNode@5921]