Move a Vertex to an existing cluster in OrientDB using Gremlin

53 Views Asked by At

I am new to OrientDB, using OrientDB 2.2.20. How do I move a vertex in an existing cluster using Gremlin

Following move vertex command is in SQL

MOVE VERTEX (select * from SClosure where (eType="DSLAM")) TO CLUSTER:myCluster

The inner query gets the @rid to be moved to an existing cluster "myCluster"

Is there a Gremlin version of this query? It is needed for my requirement

0

There are 0 best solutions below