HEART94
HEART94

Reputation: 307

Is there a gremlin query which could help us return the value of a property of particular node in the graph

Trying to get value of property of node.

Node: id: 5 status: true name: MyNode Expected result is to achieve the value of status based on node id which is 5.

Upvotes: 0

Views: 88

Answers (1)

Kelvin Lawrence
Kelvin Lawrence

Reputation: 14391

It would be good to study the documentation or other materials available to learn Gremlin. This is a very simple query.

g.V('5').values('status')

Cheers Kelvin

Upvotes: 0

Related Questions