Hi, What do you mean exactly? You can use a
CREATE EDGE XXX FROM (SELECT FROM V WHERE <condition for the left vertex>) TO (SELECT FROM V WHERE <condition for the right vertex>) the conditions can match multiple vertices, so multiple edges will be created. If you need a manual iteration, you can use WHILE and FOREACH loops in batch scripts https://orientdb.com/docs/3.0.x/sql/SQL-batch.html#loops I hope it helps Thanks Luigi Il giorno ven 7 dic 2018 alle ore 10:18 axon musthaq <axonmust...@gmail.com> ha scritto: > I have two vertex > > A and B > > I didn't create relationship while inserting values in respective vertex. > > > Now i want to create relationship between two vertex A and B which has > thousand of rows. > > For that i need to create edge as loop. > > > How can i do that in orientdb query without using java/api > > -- > > --- > You received this message because you are subscribed to the Google Groups > "OrientDB" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to orient-database+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to orient-database+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.