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.

Nested filter query

magaton
Node Link

Hello, I hit another problem.
I have the following model in Graph.

(periodA:Period)-[:IN]->(periodB:Period)-[:IN]->(periodC:Period) 

Period has property ‘value’

What would be the graphql query to retrieve periodA value for periodB.value = X and periodC.value= Y?

I assumed something like this:

query{
 Period (filter: { AND: [{ in.value: 3 }, { in.in.value: 2020 }] }){
   value 
 }
}

but in.value is not a valid expression.

I tried other ways as well by following Complex GraphQL Filtering | GRANDstack
No luck.

0 REPLIES 0