ls(:USER).outgoing.to_other(user).empty?
>
> @users and user 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,
>&
knows, node1, node2)
My question is, how can i verify 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.
our domain modeling makes it necessary / obvious that there are 2
>>> different relationships (from me to you and from you to me) then it makes
>>> sense.
>>>
>>> Cheers
>>>
>>> Michael
>>>
>>> Am 14.07.2011 um 16:59 schri
;t have to create bidirectional relationships per se, only
> if your domain modeling makes it necessary / obvious that there are 2
> different relationships (from me to you and from you to me) then it makes
> sense.
>
> Cheers
>
> Michael
>
> Am 14.07.2011 um 16:59 schri
f users or
> things to know). If it is just a simple categorization, you might just index
> the tags + id's of tagged things.
>
> #5 good question probably redis.
>
> Cheers
>
> Michael
>
>
> Am 14.07.2011 um 15:56 schrieb Diego Alvarez Nogueira:
>
&
se 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: nogueiradieg
6 matches
Mail list logo