On Thu, Dec 8, 2011 at 12:49 AM, Michael Hunger
michael.hun...@neotechnology.com wrote:
start shop=node(123), me=node(321)
match shop-[:sell]-item-[:like]-user,item-[r1?:like]-me
where r1 is null
return item
the missing part was the optional relationship for r1, which allows it to
be
I'm trying to create a cypher query.
I have a shop=node(123) and me=node(321) start nodes.
I want all items that shop-[:sell]-item-[:like]-user but does not exist
any r1 me-[r1:like]-item.
It's that possible with cypher?
--
View this message in context:
Hey André,
you already almost did it, just copying your parts together
start shop=node(123), me=node(321)
match shop-[:sell]-item-[:like]-user,item-[r1?:like]-me
where r1 is null
return item
the missing part was the optional relationship for r1, which allows it to be
null and you check for
3 matches
Mail list logo