How do I use Gremlin to attach attributes to Vertices? #2667
Unanswered
Common-zhou
asked this question in
Q&A
Replies: 0 comments
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.
-
Describe the feature:
Hello, I am currently using Gremlin to implement some queries. I would like to ask if Gremlin has a way to attach attributes to Vertex?
For example, appending to a Vertex (A) on a path is based on a property of A Vertex (B).
I've seen a way to add attributes, but it's inefficient and probably not for me.
Describe a specific use case for the feature:
For example, I need to calculate the score of a Vertex for subsequent queries.Calculate a 1 - > 5, 2 - > 8...
Then in a subsequent query, I need to pull out the property based on that Vertex and assemble the result
Beta Was this translation helpful? Give feedback.
All reactions