toSet
Return all results in a set with duplicated removed.
Synopsis
toSet()
Description
The toSet()
step is a terminal step that will return all the results in a set with all duplicates removed.
Examples
g.V().out('reviewed').toSet()
Return all results in a set with duplicated removed.
toSet()
The toSet()
step is a terminal step that will return all the results in a set with all duplicates removed.
g.V().out('reviewed').toSet()