SQL基本操作
1.新增VerTex
CREATE VERTEX V SET name="user01",sex="M",age="25";
CREATE VERTEX V SET name="user02",sex="F",age="23";
2.删除VerTex
DELETE VERTEX V WHERE name="user01";
3.新增Edge
CREATE EDGE E FROM #1:1 TO #1:2 SET name="friend";
4.删除Edge
DELETE EDGE E WHERE name="friend";
删除某个VerTex顶点时,其附加的Edge自动失效