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.

has_incoming_relationship()

Usage

has_incoming_relationship(from, to, relType)
has_incoming_relationship(from, to)

Description
Returns a boolean value indicating whether at least one incoming relationship exists between the given nodes, with an optional qualifying relationship type. See also incoming(), outgoing(), has_relationship() and has_outgoing_relationship().

Example

${has_incoming_relationship(me, page, 'OWNS')}

results in

false

Search results for "has_incoming_relationship()"

has_incoming_relationship()

Returns a boolean value indicating whether at least one incoming relationship exists between the given nodes, with an optional qualifying relationship type. See also incoming(), outgoing(), has_relationship() and has_outgoing_relationship().

has_incoming_relationship(from, to [, relType ])