Step - where

where ยท category: Filters

Keeps the traverser when the child traversal yields a result, or when a labelled object matches a predicate on another label (see the book page where() Start and End Labels).

Forms

where(arg1: any)
where(arg1: string, arg2: any)

Example

g.v(1).as("a").out().where(__.in("created").as("a")).values("name").to_list()   // ["lop"]

See also