Message from discussion
release 2.0.0.alpha.7
Date: Thu, 19 Apr 2012 23:41:47 -0700 (PDT)
From: Cyprian Kowalczyk <cyprian...@gmail.com>
To: neo4jrb@googlegroups.com
Message-ID: <788904.149.1334904107534.JavaMail.geo-discussion-forums@ynku11>
In-Reply-To: <CAMiAGze-j+m6H3xvdonbQNxLKQCm4GAXmLbDZS2fZ-jbK6TBDw@mail.gmail.com>
References: <CAMiAGze-j+m6H3xvdonbQNxLKQCm4GAXmLbDZS2fZ-jbK6TBDw@mail.gmail.com>
Subject: Re: release 2.0.0.alpha.7
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_Part_147_8628408.1334904107534"
------=_Part_147_8628408.1334904107534
Content-Type: multipart/alternative;
boundary="----=_Part_148_28962630.1334904107534"
------=_Part_148_28962630.1334904107534
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
How do I translate the following query to Cypher DSL:
Neo4j._query("
START u=node({user_id}), p=node({place_id})
MATCH
u-[:`User#rc`]->rc<-[:`RS#rc`]-rs<-[:`Place#rs`]-p,
rc<-[:active]-()
WHERE rc._classname ?= 'RC'
RETURN rc",
:user_id => self.neo_id,
:place_id => place.neo_id
)
------=_Part_148_28962630.1334904107534
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit
How do I translate the following query to Cypher DSL:<div><br></div><div> Neo4j._query("<br><div><div> START u=node({user_id}), p=node({place_id}) </div><div> MATCH </div><div> u-[:`User#rc`]->rc<-[:`RS#rc`]-rs<-[:`Place#rs`]-p,</div><div> rc<-[:active]-()</div><div> WHERE rc._classname ?= 'RC' </div><div> RETURN rc", </div><div> :user_id => self.neo_id,</div><div> :place_id => place.neo_id</div><div> )</div></div></div>
------=_Part_148_28962630.1334904107534--
------=_Part_147_8628408.1334904107534--