Created
November 18, 2021 16:24
-
-
Save Hkazanci93/6129ea086e8214ae79e323bdc6dbe86c to your computer and use it in GitHub Desktop.
This file contains 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 (them:Person) | |
MATCH (me:Person {userid:$userid}) | |
WHERE NOT them.userid = $userid | |
AND them.name STARTS WITH $name | |
AND NOT (me)-[:friended]->(them) | |
RETURN them |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment