neo4jphp
neo4jphp copied to clipboard
getNodesForLabel not working with propertyName ,value parameters
I have used the below code to get all the node with label 'user ' and property 'id', and value '12345',but it returns null, But when I used only label without property, it worked fine.
getNodesForLabel($label,'id','12345'); $startNodes->count(); ?>
It seems like 'id' would be a unique property, so I'm not sure why multiple nodes would have it..
Still, have you tried dropping the single quotes so it's just treated as an integer?
Tested on my local env, I can't reproduce this issue, working with id property and the value in quotes.