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

Query proposal: ActiveRoute #108

Open
szarnyasg opened this issue Oct 3, 2017 · 0 comments
Open

Query proposal: ActiveRoute #108

szarnyasg opened this issue Oct 3, 2017 · 0 comments

Comments

@szarnyasg
Copy link
Member

szarnyasg commented Oct 3, 2017

For an active route, each switch must be set to the position prescribed by the switch position followed by the route.

MATCH (route:Route {active: true})-[:follows]->(swP:SwitchPosition)-[:target]->(sw:Switch)
WHERE swP.position <> sw.currentPosition
RETURN route, swP, sw

#101

szarnyasg added a commit that referenced this issue Oct 13, 2017
szarnyasg added a commit that referenced this issue Oct 13, 2017
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

1 participant