label
Extracts the specified labels.
Synopsis
label()
Description
The label()
step is a map step that extracts the specified labels.
Examples
Get all the vertex and edge labels in a deduplicated list:
g.V().label().dedup()
Extracts the specified labels.
label()
The label()
step is a map step that extracts the specified labels.
Get all the vertex and edge labels in a deduplicated list:
g.V().label().dedup()