Skip to content

Instantly share code, notes, and snippets.

@Ramko9999
Created February 21, 2020 02:10
Show Gist options
  • Save Ramko9999/07759ae1d6dd7b0abcd98873a710ed79 to your computer and use it in GitHub Desktop.
Save Ramko9999/07759ae1d6dd7b0abcd98873a710ed79 to your computer and use it in GitHub Desktop.
Deleting Vertices
/*
Deleting a Vertex is the same as getting Vertices.
*/
await client.deleteVertex("THE VERTEX OBJECT");
/*
If I wanted to delete a Vertex of type "Person" with id "91", here is
how I would do it:
*/
await client.deleteVertex(Vertex("Person", "91));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment