Hi Guys,
I have a question:
how can i use SET only for the first ...20 matches...?
like using set and limit?
thanks
--
You received this message because you are subscribed to the Google Groups "Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Cristian,
Can you model an example of the bug in console.neo4j.org so we can recreate and then file a bug?
/peter
Sent from mobile device.
Here are some tests:
Test 1: (order and limit)
http://console.neo4j.org/?id=1yt7mr
start n=node:node_auto_index(name='Neo') match n-[r:KNOWS*]-m set m.name='wrong' return n as Neo,r,m order by m.name desc limit 2
if you see all the nodes, disregarding the limit will be named "wrong"
Updated the graph - set 4 properties <- only two should be set
Test 2: (only limit without order)
http://console.neo4j.org/r/9gzwy0
start n=node:node_auto_index(name='Neo') match n-[r:KNOWS*]-m set m.name='wrong' return n as Neo,r,m limit 2
only two nodes, keeping track of the limit will be named "right"
Updated the graph - set 2 properties <- right
and the only difference between the queries is the order clause