Replies: 1 comment
-
See #553. |
Beta Was this translation helpful? Give feedback.
0 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.
-
Hi !
Need some advice how to clone a Vertex with it's properties and Edges/edge properties to a new Vertex.
I'm newbie with gremlin and using Cosmos Db gremlin.
This is what I have now:
await g.V(sourceid).As((, source) => _
.AddV(new SampleVertex())
.As(( _ , clone) => _
.SideEffect(s =>
{
return s.Select(source).OutE().As(( _ , e) => _
.Select(e).InV().AddE().From(f => f.Select(clone)));
}
)
));
But I'm out of ideas how to copy properties.
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions