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.

@krlawrence krlawrence self-assigned this Sep 3, 2020
@krlawrence krlawrence added this to Needs triage in Planning via automation Sep 3, 2020
@krlawrence krlawrence moved this from Needs triage to Medium Priority in Planning Sep 3, 2020
@krlawrence krlawrence moved this from Medium Priority to Needs triage in Planning Sep 5, 2020
@krlawrence krlawrence moved this from Needs triage to Medium Priority in Planning Sep 5, 2020
@krlawrence krlawrence moved this from Medium Priority to High priority in Planning Sep 5, 2020
@krlawrence krlawrence moved this from High priority to Medium Priority in Planning Mar 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Planning
  
Medium Priority
Development

No branches or pull requests

1 participant