or
Yield at least one result from choices.
Synopsis
or()
Description
The or()
step is a filter step that ensures that at least one of the provided traversals yield a result.
Examples
Finds all vertices that are not a fridgeSensor or a meal and groups them by name:
g.V().not(hasLabel('fridgeSensor').or().hasLabel('meal')). group().by(label).by('name')