values
Extract the value of properties for an element.
Synopsis
values( [ 'property\_name', ... ] )
Description
The values()
step is a map step that extracts the values of either all the properties or specified properties for an element.
Examples
Get all the values of the properties for a meal item of taco:
g.V().has('meal_item', 'name', 'taco').values()
Get only the value of the property macro for a meal item of taco:
g.V().has('meal_item', 'name', 'taco').values('macro')