Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getNodesForLabel not working with propertyName ,value parameters #151

Open
sarathsprakash opened this issue Jun 27, 2014 · 2 comments
Open

Comments

@sarathsprakash
Copy link

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(); ?>
@jgillmanjr
Copy link

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?

@ikwattro
Copy link

ikwattro commented Aug 5, 2014

Tested on my local env, I can't reproduce this issue, working with id property and the value in quotes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants