[Neo4j] Verifying the relationship between two nodes

2011-07-15 Thread Diego Alvarez Nogueira
if there is a relationship between the nodes with id=1 and id=2? Thanks, Best, Diego Nogueira -- Atenciosamente, Diego Alvarez Nogueira Blog: http://diegonogueira.com.br | http://papoinformal.com Skype: nogueiradiego Twitter: @nogueiradiego ___ Neo4j mailing list

Re: [Neo4j] Verifying the relationship between two nodes

2011-07-15 Thread Diego Alvarez Nogueira
are your two nodes. So it would be: ! node1.rels(:knows).outgoing.to_other(node2).empty? Cheers Michael Am 15.07.2011 um 19:06 schrieb Diego Alvarez Nogueira: Hi, I'm using: ruby 1.9.2, rails 3, neo4j and neography. I have the following nodes and relationships: node1

[Neo4j] Social network using neo4j, what's the best way?

2011-07-14 Thread Diego Alvarez Nogueira
and likes? 5- What's the best database to store statistics and feeds? Thanks! Best, Diego Nogueira -- Atenciosamente, Diego Alvarez Nogueira Blog: http://diegonogueira.com.br | http://papoinformal.com Skype: nogueiradiego Twitter: @nogueiradiego

Re: [Neo4j] Social network using neo4j, what's the best way?

2011-07-14 Thread Diego Alvarez Nogueira
is the best database to store tags and likes? 5- What's the best database to store statistics and feeds? Thanks! Best, Diego Nogueira -- Atenciosamente, Diego Alvarez Nogueira Blog: http://diegonogueira.com.br | http://papoinformal.com Skype: nogueiradiego Twitter: @nogueiradiego