How to query a vertex by a property of another vertex #780
-
This is probably a very stupid question. I tried something like this
but it does not work. Also I know this query works in raw gremlin, but I am not sure this is the best way to do it and also I am not sure how to do it in Gremlinq.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Try something like this instead:
There's no better way to express this IMO. Note, however, that this might not get optimized on your graph db system, and you could end up will a full db scan every time. You should measure response times. |
Beta Was this translation helpful? Give feedback.
Try something like this instead:
There's no better way to express this IMO. Note, however, that this might not get optimized on your graph db system, and you could end up will a full db scan every time. You should measure response times.