How break out until after certain number of steps. #588
rahul-janoria
started this conversation in
General
Replies: 1 comment 2 replies
-
That's not supported currently. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm looking for a way to break Until after a certain number of steps.
something like this:
g.V(fromVertexId)
. repeat(both().simplePath())
.until(and(hasId(toVertexId), loops().is(lte(maxHops))))
.path()
However, I'm not able to do it with GremLinq. can someone suggest how such queries can be achieved?
Beta Was this translation helpful? Give feedback.
All reactions