sql-gremlin icon indicating copy to clipboard operation
sql-gremlin copied to clipboard

No support for `addV` only `addVertex`

Open kuzeko opened this issue 5 years ago • 0 comments

As per Gremlin documentation:

The Graph API (also referred to as the Structure API) is not always accessible to users. Its accessibility is dependent on the choice of graph system and programming language. It is therefore recommended that users avoid usage of methods like Graph.addVertex() or Vertex.properties() and instead prefer use of Gremlin with g.addV() or g.V(1).properties().

https://tinkerpop.apache.org/docs/current/reference/#staying-agnostic

Currently, using gts.addV generates an error.

kuzeko avatar Mar 05 '20 10:03 kuzeko