You have been redirected from an outdated version of the article. Below is the content available on this topic. To view the old article click here.

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]

Search results for "outgoing()"

outgoing()

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().

outgoing(node [, relType ])