cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Can't use an @cypher generated scalar Boolean field as argument in a query

Hi,

I have a tree-like structure of the same node type that are connected by a composed_of relationship. I used the @cypher directive in my schema file to calculate the boolean information if a node isLeaf or not.

If I query all the nodes via graphql or select specific ones by e.g. id everything is fine.

My problem is that I can't use the isLeaf attribute in a query to just get the leaves. The result is empty.

Is it not possible to use a by @cypher directive generated attribute as an attribute in a query?

Thanks for information.

0 REPLIES 0
Nodes 2022
Nodes
NODES 2022, Neo4j Online Education Summit

All the sessions of the conference are now available online