how do I find related nodes given a node using Neography in neo4j? -


the documentation doesn't seem work expected.

node #<neography::node>>  node.outgoing #<neography::nodetraverser:0x007f5981427f20 

i want nodes given relationship, it's unclear based on current documentation:

https://github.com/maxdemarzi/neography

that syntax builds traversal description until ready .each it:

node.outgoing(:friends).depth(4).nodes.each |node|   puts node.map{|n| n.name }.join(' => friends => ') end 

Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -