[ https://issues.apache.org/jira/browse/TINKERPOP-2732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yang Xia closed TINKERPOP-2732. ------------------------------- Resolution: Implemented List intersection capabilities were added in 3.7.1. See https://tinkerpop.apache.org/docs/current/upgrade/#_list_manipulation_steps > Support containsAll predicate > ----------------------------- > > Key: TINKERPOP-2732 > URL: https://issues.apache.org/jira/browse/TINKERPOP-2732 > Project: TinkerPop > Issue Type: Improvement > Components: language > Affects Versions: 3.5.2 > Reporter: Brian Ghigiarelli > Priority: Minor > > A {{containsAll}} predicate in Gremlin and TinkerPop would improve usability > and performance for determining whether a set or list of values for a > property are all found within some provided input. > This is currently available for property values with a single cardinality > through the {{within}} predicate. > At the moment, the {{containsAll}} behavior is available through some > workarounds: > # lambdas on some environments ( see [3] below ) > # a multi-step {{where}} traversal that involves creating a union of the > input and property values, deduplicating the list, then checking that the > length of the list against the original input length ( see [1] below ) > > Background discussions: > [1] [https://discord.com/channels/838910279550238720/959091047508631652] > [2] [https://gitter.im/janusgraph/janusgraph?at=62431cdaf43b6d783f24f842] > [3] [https://stackoverflow.com/questions/69440735] -- This message was sent by Atlassian Jira (v8.20.10#820010)