SteelBridgeLabs / neo4j-gremlin-bolt

Apache License 2.0
0 stars 1 forks source link

What is the standard way to drop or delete a vertex or edge using neo4j-gremlin-bolt? #101

Closed octetful closed 3 years ago

octetful commented 3 years ago

Usually in standard tinkerpop documentation, there is a traversal step called drop mentioned as: g.V().drop()

What is the standard way to drop or delete vertices or edges using the neo4j-gremlin-bolt library?

rjbaucells commented 3 years ago

If you have an instance of Vertex you just invoke vertex.remove(), that will remove the vertex from the database on commit.