Skip to main content
Version: v24.1

@ignorereflex

The @ignorereflex directive forces the removal of child nodes that are reachable from themselves as a parent, through any path in the query result

Query Example: All the co-actors of Rutger Hauer. Without @ignorereflex, the result would also include Rutger Hauer for every movie.

{
coactors(func: eq(name@en, "Rutger Hauer")) @ignorereflex {
actor.film {
performance.film {
starring {
performance.actor {
name@en
}
}
}
}
}
}