apoc icon indicating copy to clipboard operation
apoc copied to clipboard

Add relationship exclusion to apoc.path.. options

Open neo-technology-build-agent opened this issue 3 years ago • 1 comments

Issue by stuartlaurie Friday Mar 29, 2019 at 16:41 GMT Originally opened as https://github.com/neo4j-contrib/neo4j-apoc-procedures/issues/1145


Can we add a feature to apoc.path.. not to follow certain relationships?

Currently we have the ability to define -NodeLabel but it would be great to be able to specify -RelationshipLabel

The scenario being that if i say have 30 unique relationships labels i'd like to say follow all but e.g. 2 of them. Right now, we'd have to define 28 rels to be able to do the same

Comment by awesomeskyfantasy Tuesday Apr 16, 2019 at 07:17 GMT


totally agree!

I note that GPM label expression can do !RelationshipLabel, so that may be the better solution anyway.

hvub avatar Dec 17 '24 21:12 hvub