Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get vertex class name with gremlin console? #165

Closed
SafinRR opened this issue Jun 12, 2019 · 1 comment
Closed

How to get vertex class name with gremlin console? #165

SafinRR opened this issue Jun 12, 2019 · 1 comment
Assignees
Labels

Comments

@SafinRR
Copy link

SafinRR commented Jun 12, 2019

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

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

@wolf4ood wolf4ood self-assigned this Jun 20, 2019
@wolf4ood
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants