'How can I pass list or arr in has condition in gremlin query lang?

if arr=['abc', 'xyz', 'pqr'] and V().has('name',within(arr)).outE().inV().path().by(elementMap()) throw an error



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source