finding Mutual Friends
See original GitHub issueHi , Thanks again for this awesome library.
Here is the raw Query in Gremlin to get mutual friends.
g.V(FirstUserId).both("Friend").where(both("Friend").is(eq(SecondUserId)))
The closest query I was able to write is below but it always return all the friends of first user as I was not able to write equivalent statement of .is(eq(SecondUserId)
await _g.V(FirstUserId).Both<Friend>()
.Where(l => l.Both<Friend>().V(SecondUserId)).Dedup().OfType<User>();
Thank you
reference links
Issue Analytics
- State:
- Created 3 years ago
- Comments:29 (13 by maintainers)
Top Results From Across the Web
How to Check Mutual Friends of 2 People on Facebook
Head to the Timeline of any current Facebook friend, and click the "Friends" tab. Before you even click, you'll see a number indicating...
Read more >How to find mutual friends between two people on Facebook
Click the More button on the Friendship page, type in the names of the two friends whose mutual friendsyou want to view, and...
Read more >How to see a list of mutual friends of two Facebook accounts?
Follow this simple technique: Find Profile ID of B - say it is Profile_B. Go to FB profile of A - say URL...
Read more >How To See Mutual Friends on Facebook
The simplest method to see your mutual friends with another person on Facebook is by looking up their Facebook profile and seeing their...
Read more >How do you find out who you have the most mutual friends ...
From there, you can click on the “Mutual Friends” tab to view a list of all of your mutual friends. You can then...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Then more like…
?
How about
A great place to start learning Gremlin is the official documentation. You need to be familiar with Gremlin concepts to make the most of ExRam.Gremlinq. The sample graph in ExRam.Gremlinq.Samples is directly taken from the official docs.