We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I created the following:
n1 = Neography::Node.create n2 = Neography::Node.create new_rel = Neography::Relationship.create(:family, n1, n2)
My expectation is I should be able to list the relationships in n1 and from there return n2.
n1.outgoing from the documentation says I would # Get nodes related by outgoing relationships
n1.outgoing
# Get nodes related by outgoing relationships
n2 = n1.outgoing n2.class
n2 = n1.outgoing
n2.class
I expect the outcome to be a node.
Instead, I get #<Neography::NodeTraverser:
#<Neography::NodeTraverser:
How do I get to the actual node 2?
The text was updated successfully, but these errors were encountered:
How do I get the actual relationships, it's not behaving as expected since I cannot get the "types":
http://stackoverflow.com/questions/43624904/how-do-i-use-neography-to-find-the-relationship-type-and-nodes-for-a-given-node
Sorry, something went wrong.
No branches or pull requests
I created the following:
n1 = Neography::Node.create n2 = Neography::Node.create new_rel = Neography::Relationship.create(:family, n1, n2)
My expectation is I should be able to list the relationships in n1 and from there return n2.
n1.outgoing
from the documentation says I would# Get nodes related by outgoing relationships
n2 = n1.outgoing
n2.class
I expect the outcome to be a node.
Instead, I get
#<Neography::NodeTraverser:
How do I get to the actual node 2?
The text was updated successfully, but these errors were encountered: