FromN
Get the node that the edge originates from.
Example
QUERY GetFollowerFromRelationship(relationshipID: ID) {
follower <- E<Follows>(relationshipID)::FromN
RETURN follower
}
FromV
Get the vector that the edge originates from.
Example
QUERY GetFollowerFromRelationship(relationshipID: ID) {
follower <- E<Follows>(relationshipID)::FromV
RETURN follower
}
ToN
Get the node that the edge points to.
Example
QUERY GetFollowingFromRelationship(relationshipID: ID) {
followed_user <- E<Follows>(relationshipID)::ToN
RETURN followed_user
}
ToV
Get the vector that the edge points to.
Example
QUERY GetFollowingFromRelationship(relationshipID: ID) {
followed_user <- E<Follows>(relationshipID)::ToV
RETURN followed_user
}