Last active
February 20, 2022 10:42
-
-
Save vladbatushkov/47a395f5cbdbb762cad7a2d46461e940 to your computer and use it in GitHub Desktop.
Common folder consumers as folders
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MATCH (s:File)<-[*]-()-->(consumer:Folder) | |
WHERE s.name =~ 'common.*' | |
RETURN DISTINCT s.name as subject, | |
collect(DISTINCT consumer.name) as consumers |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment