Naming multiple vertices

I've got a list of vertices and a list of unique names. I'm looking to apply one name to each node, but struggling with the syntax. I think I should be using some sort of query builder where I can do: names.forEach(index, name) I'm expecting each query to involve select() where() has() index(), but have been having some difficulties in figuring out how to piece these together in gremlin js
1 Reply
kelvinl2816
kelvinl28164d ago
When you say "apply" do you want to add a given name to a given vertex based on a given pair of vertex/name, or are you looking to filter in some way? Happy to try to help, but not fully understanding the question.
Want results from more Discord servers?
Add your server