Message from discussion
Cypher q: function to get start/end nodes of relationships?
Received: by 10.50.213.99 with SMTP id nr3mr3242108igc.2.1350141641630;
Sat, 13 Oct 2012 08:20:41 -0700 (PDT)
X-BeenThere: neo4j@googlegroups.com
Received: by 10.42.91.75 with SMTP id o11ls8283534icm.2.gmail; Sat, 13 Oct
2012 08:20:39 -0700 (PDT)
Received: by 10.43.81.137 with SMTP id zy9mr3974972icb.0.1350141639323;
Sat, 13 Oct 2012 08:20:39 -0700 (PDT)
Received: by 10.43.81.137 with SMTP id zy9mr3974971icb.0.1350141639307;
Sat, 13 Oct 2012 08:20:39 -0700 (PDT)
Return-Path: <andres.tay...@neopersistence.com>
Received: from mail-ie0-f172.google.com (mail-ie0-f172.google.com [209.85.223.172])
by gmr-mx.google.com with ESMTPS id s15si207960igi.1.2012.10.13.08.20.39
(version=TLSv1/SSLv3 cipher=OTHER);
Sat, 13 Oct 2012 08:20:39 -0700 (PDT)
Received-SPF: pass (google.com: domain of andres.tay...@neopersistence.com designates 209.85.223.172 as permitted sender) client-ip=209.85.223.172;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of andres.tay...@neopersistence.com designates 209.85.223.172 as permitted sender) smtp.mail=andres.tay...@neopersistence.com
Received: by mail-ie0-f172.google.com with SMTP id 9so7080573iec.31
for <neo4j@googlegroups.com>; Sat, 13 Oct 2012 08:20:39 -0700 (PDT)
d=google.com; s=20120113;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
:content-type:x-gm-message-state;
bh=FtlNIJ0AEGZn3Rz8YowQoqE4vDMkkIYMKc5jKDMlNLo=;
b=M0az3/xoC5fBGtLdARnPa1+kVEPrm+9CZXkz48GLbP/mtP9iwhdrCEsuRO5O+D1kXj
zadMEuR1BzpoJjwOl635sJAQL1IpHNkNdZJBwk9d4d4r7m/IsQ6xL4kort1sNrNoKpr3
oicW77JQoZAowXYGbV7bWzM95TglWp6X2/c+bk6BKryYWGH0vNo1irmPqSS2K0so5Sr1
BGa7yeKQkYbdnZIPVFDRyZLGacXUqvbhBTaU6FXpoCNNBvEHmmKfDmar4kyaGUMEoY3X
QIWiI3GpbjjlkEGIrtEhlS7QmrA281q7tHk+NyhTk0vJiqJmFu9IeOJMEpzht/CFZ8EJ
KpBQ==
MIME-Version: 1.0
Received: by 10.50.53.170 with SMTP id c10mr4902390igp.45.1350141639102; Sat,
13 Oct 2012 08:20:39 -0700 (PDT)
Received: by 10.50.212.101 with HTTP; Sat, 13 Oct 2012 08:20:39 -0700 (PDT)
In-Reply-To: <CAETHeijsqWvjc1wnyCrDzt=ktBWTyJgz4Eddq8X9+KCHjVn...@mail.gmail.com>
References: <CAETHeii3PXb3bPNR0K7ueKQ3nEOzcpED+1x1oE_rjezCLgH...@mail.gmail.com>
<97F314E0-D783-4972-9F08-C638CDFE9...@neotechnology.com>
<CAETHeijsqWvjc1wnyCrDzt=ktBWTyJgz4Eddq8X9+KCHjVn...@mail.gmail.com>
Date: Sat, 13 Oct 2012 17:20:39 +0200
Message-ID: <CAHKVbKLurV7ptGVOz1dACOhvBKSo8AMZE87gF0cM3D+BrMW...@mail.gmail.com>
Subject: Re: [Neo4j] Cypher q: function to get start/end nodes of relationships?
From: Andres Taylor <andres.tay...@neotechnology.com>
To: neo4j@googlegroups.com
Content-Type: multipart/alternative; boundary=f46d042f9d66cb91c104cbf2583b
X-Gm-Message-State: ALoCoQl9T1XPO8rX1VU+FniDVbIQGvxQTtPD4GmYnib1xArkURr7s4BJ6hYYG2Q/vrKw1PBns9Ss
--f46d042f9d66cb91c104cbf2583b
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
On Sat, Oct 13, 2012 at 4:59 PM, Aseem Kishore <aseem.kish...@gmail.com>wro=
te:
> Ah cool, thanks guys.
>
> It occurred to me that in the meantime, you could use a pattern WHERE:
>
> MATCH (a) -[r:FOLLOWS]- (b)
> WHERE (a) -[r]-> (b)
>
Hehe... Didn't realise that. Cool! :)
> Cool, at least that's possible. Were pattern WHEREs added in 1.7?
>
No, they made it in in 1.8.
Andr=E9s
--f46d042f9d66cb91c104cbf2583b
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
<br><br><div class=3D"gmail_quote">On Sat, Oct 13, 2012 at 4:59 PM, Aseem K=
ishore <span dir=3D"ltr"><<a href=3D"mailto:aseem.kish...@gmail.com" tar=
get=3D"_blank">aseem.kish...@gmail.com</a>></span> wrote:<br><blockquote=
class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc soli=
d;padding-left:1ex">
Ah cool, thanks guys.<div><br></div><div>It occurred to me that in the mean=
time, you could use a pattern WHERE:</div><div><br></div><div>MATCH (a) -[r=
:FOLLOWS]- (b)</div><div>WHERE (a) -[r]-> (b)</div></blockquote><div>
<br></div><div>Hehe... Didn't realise that. Cool! :)</div><div><br></di=
v><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8e=
x;border-left:1px #ccc solid;padding-left:1ex"><div>
Cool, at least that's possible. Were pattern WHEREs added in 1.7?</div>=
</blockquote><div><br></div><div>=A0No, they made it in in 1.8.</div><div><=
br></div><div>Andr=E9s</div></div>
--f46d042f9d66cb91c104cbf2583b--