key
Extracts property keys for specified object.
Synopsis
key()
Description
The key()
is a map step that extracts the property keys for a specified object.
Examples
Get a deduplicated list of all the vertexLabel property keys:
g.V().properties().key().dedup()