Skip to content

Instantly share code, notes, and snippets.

@Hkazanci93
Created November 18, 2021 16:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Hkazanci93/e94fd4b1ff7bb03ba043c3ceb5033dd1 to your computer and use it in GitHub Desktop.
Save Hkazanci93/e94fd4b1ff7bb03ba043c3ceb5033dd1 to your computer and use it in GitHub Desktop.
MATCH (me:Person { userid: $userid })
MATCH (them:Person { userid: $themid })
MERGE (me)-[:friended]->(them)
RETURN me, them
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment