I need to write old queries from Gremlin 2.6 to 3.4 syntax in JS/TS, because in 2.6 i've done everything with strings and then i execute that string but now i want to use 3.4 syntax where i can use chaining methods.
First i need to convert this query, but i don't know what to do with this nested queries out().simplePath()
and label().is('Recording')
.
g.V().repeat(out().simplePath()).until(label().is('Recording'))
I'm thinking something like this to do but i'm not sure that is correct.
g.V().repeat(g.V().out().simplePath()).until(g.V().label().is('Recording'));
Also there is no more between function in gremlin so how can i get same result for this old function and also to write that in js/ts? (This is just part of a query)
.has('name', between('${partialPropertyName}', '${partialPropertyName}a'))
Thank you guys in front.