javaneo4jneo4j-java-api

Neo4j get Node by specific properties Java API


Is there a way to get a node by specific attributes using the Java API? Specifically:

The only functions I found were:

findNode(label)
findNode(label, key, value)

Which only supports one property. Or do I have to use Cypher to get this?


Solution

  • If your question is about how to find nodes that have specific multiple property values, the Java API has no method that does that task. In general, it is easier to use Cypher for that.