If I delete vertex, does it take care of deleting all in/out edges?

31 views
Skip to first unread message

Suyog Kale

unread,
Nov 4, 2016, 7:13:15 AM11/4/16
to OrientDB
If I delete vertex, does it take care of deleting all in/out edges?
If not then what else is recommended approach?
OR is it ok to use following steps:

delete edge from #vertex
delete edge to #vertex
delete vertex V #vertex

Ivan Mainetti

unread,
Nov 4, 2016, 7:41:37 AM11/4/16
to OrientDB
yes, the delete vertex command also takes care of deleting all attached edges

Suyog Kale

unread,
Nov 6, 2016, 10:50:57 PM11/6/16
to OrientDB
Thanks Ivan
Reply all
Reply to author
Forward
0 new messages