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

Add an example showing how to compare two properties on the same vertex #202

Open
krlawrence opened this issue Sep 3, 2020 · 0 comments

Comments

@krlawrence
Copy link
Owner

This seemingly simple task cannot be done using a has step and users get confused when trying to do something like this:

gremlin> g.addV('test').property('a',5).property('b',10)
==>v[53770]   
gremlin> g.V().hasLabel('test').as('x').where(gt('x')).by('b').by('a')
==>v[53767]

Some examples along these lines should be added to the "3.16.1. Using where and by to filter results" section.

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

No branches or pull requests

1 participant