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.

get_relationships()

Usage

get_relationships(from, to, relType)
get_relationships(from, to)

Description
Returns all relationships between the given nodes, with an optional qualifying relationship type.

Example

${get_relationships(me, page)}

results in

[org.structr.web.entity.relation.PageLink@548b, org.structr.core.entity.relation.PrincipalOwnsNode@5820]

Search results for "get_relationships()"

get_relationships()

Returns all relationships between the given nodes, with an optional qualifying relationship type.

get_relationships(from, to [, relType ])