orientechnologies / orientdb-gremlin

TinkerPop3 Graph Structure Implementation for OrientDB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to get vertex class name with gremlin console?

SafinRR opened this issue · comments

Hello!
How to get vertex class and name rid with gremlin console?

g.V('#48:19').valueMap()
g.V('#48:19').properties()

Hi @SafinRR

g.V('#48:19').valueMap(true)

in the version supported by ODB

in future version of Gremlin 3.4.x

http://tinkerpop.apache.org/docs/current/reference/#valuemap-step