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.

Neo4j OGM for Java - filters combination

Hello,

I need to form a dynamic query, using Filter/Filters in neo4j-ogm. The simplified version of the query may look like this:

(A and B and C)
  and (
     (
      (D or E) and not (F or J)
     )  
      or
     (
      (H or I) and not (G or K)
     ) 
     or
    ...... more conditions like this
    )

)

I cannot find how to do it using Filters by combining them into logical structures with parenthesis and precedence (am I looking not hard enough?).

Is it possible (from implementation looks like Filters are internally maintained as a plain List, which does not allow any precedence etc)?

Thank you!

0 REPLIES 0