FromN
Get the node that the edge originates from.
::FromN
QUERY GetFollowerFromRelationship(relationshipID: ID) { follower <- E<Follows>(relationshipID)::FromN RETURN follower }
ToN
Get the node that the edge points to.
::ToN
QUERY GetFollowingFromRelationship(relationshipID: ID) { followed_user <- E<Follows>(relationshipID)::ToN RETURN followed_user }
Was this page helpful?