Question on HelixQL #128
Answered
by
xav-db
LikeCrazyShawn
asked this question in
Q&A
|
I am reading the helixQL webpage and have below questions.
the second line of code should be as below right? and where is the friendship? QUERY CreateFriendships(user1ID: String, user2ID: String) => // This makes user with userID2 follow every user in the database RETURN friendship
|
Answered by
xav-db
Jun 14, 2025
Replies: 1 comment
|
you don't have to use N(user1ID) you would just do the difference between Out and OutE is that Out returns the nodes that the outgoing edges point to. OutE returns the outgoing edge (not the nodes). |
0 replies
Answer selected by
xav-db
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
you don't have to use N(user1ID)
you would just do
user1 <- AddE<EdgeType>::From(user1ID)::To(user2ID)the difference between Out and OutE is that Out returns the nodes that the outgoing edges point to. OutE returns the outgoing edge (not the nodes).