[Neo4j] Re: Getting last node created

2019-06-17 Thread KeQin Wei
Match (n) Return n Order by n.created_at desc Limit 1 在 2019年6月13日星期四 UTC+8上午12:28:27,Eclipsetalk写道: > > Hello, > What is the cypher query to retrieve the last node that was created? > > Thanks, > > Eric > -- You received this message because you are subscribed to the Google Groups "Neo4j" g

Re: [Neo4j] concatenate nodes properties

2014-07-12 Thread Wei
This is cool, thanks a lot Michael! On Saturday, July 12, 2014 2:40:36 AM UTC-4, Michael Hunger wrote: > > with reduce(a="", n in nodes(mypath) | a + "," +n.dn) as path > Return substring(path,1,length(path)-1) > > Sent from mobile device > > Am 12.07.

Re: [Neo4j] concatenate nodes properties

2014-07-11 Thread Wei
Thanks a lot Michael! This is really nice! One little thing: my node dn values are: ie etc yum.repo.d base, I like to build something like this: etc/yum.repo/base, using / as seperator, but there should be NO leading / and NO ending /. can this be implemented? Thanks again, Wei On Friday

[Neo4j] concatenate nodes properties

2014-07-11 Thread Wei
I am using cypher query like this to get all the paths: match mypath = (n:topsystem) -[*]-> (m:blade) return mypath. I like to get this done in Cypher! Thanks a lot, Wei -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe f