Drop Edge Syntax¶
DROP EDGE [IF EXISTS] <edge_type_name>
You must have the DROP privilege for the edge type.
You can use the
If EXISTS keywords when dropping edges. This keyword automatically detects if the corresponding edge exists. If it exists, it will be deleted. Otherwise, no edge is deleted.
This statement removes all the edges (connections) within the specific edge type.
This operation only deletes the Schema data, all the files and directories in the disk are NOT deleted directly, data is deleted in the next compaction.