Skip to content

Instantly share code, notes, and snippets.

@Ramko9999
Created February 21, 2020 02:17
Show Gist options
  • Save Ramko9999/8f6bcc83199d576a5b927b1592693d86 to your computer and use it in GitHub Desktop.
Save Ramko9999/8f6bcc83199d576a5b927b1592693d86 to your computer and use it in GitHub Desktop.
/*
Here is how we would delete the "HAS_PHONE" edge shown earlier.
*/
Vertex source = Vertex("Person", "1");
Vertex target = Vertex("Phone", "612-391-2389");
String edge = "HAS_PHONE";
await client.deleteEdge(source, edge, target);
/*
Simple way to delete an edge
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment