Step - has_p

has_p ยท category: Filters

Graphersal form of has(key, predicate): keeps elements whose property matches the predicate (a bare value means P.eq).

Forms

has_p(arg1: any, arg2: any)

Example

g.v().has_p("age", P.gt(30)).values("name").to_list()   // ["josh", "peter"]