Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

using In clause in @query spring neo4j

 
Amitosh Mishra
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

can some one provide me some example for using cypher query with in clause.

i tried using like below(even tried to use array of String also).

but it always fails with below exception
this is working properly if i am trying to use single value as




 
Bill Gorder
Bartender
Posts: 1682
7
Android IntelliJ IDE Linux Mac OS X Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not sure but seems the in is not allowed in the where clause. Does something like this work (if you put the Spring part aside). rel1 and rel2 should be the relationships you want to follow.


Also it looks like you are using a pretty old version of cypher. You might consider upgrading.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic