Hi Chaitanya, The following guidelines for a small example: First: create the class Vertex you need it, for example Person to see the relations of friendship CREATE CLASS Person EXTENDS V
Second create the class Edge to link the Vertex CREATE CLASS HasFriend EXTENDS E Third: populates the class person with the names of people that you want to create CREATE VERTEX Person SET name = 'Jonh' CREATE VERTEX Person SET name = 'Will' fourth: connect them to each other with the link that you created earlier CREATE EDGE HasFriend FROM #12:0 TO #12:1 with the the query you can see the link about John and Will (in the tab 'Graph' you will see the graphic design) select from Person Jonh --hasFriend--> Will regards, Savio L -- --- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
