Guest User

Untitled

a guest
Nov 25th, 2019
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function find_friends_of_my_friends_by_id(myid, personid) { //znajduje przyjaciół moich przyjaciół po imieniu
  2.     return instance.cypher("MATCH (me:Person)-[:friends {relation:'request_accepted'}]-(friends:Person)-[:friends {relation:'request_accepted'}]-(friend_of_myfriend:Person) WHERE id(me)="+myid+" AND id(friend_of_myfriend)="+personid+" RETURN friend_of_myfriend")
  3. }
Advertisement
Add Comment
Please, Sign In to add comment