Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
10-18-2021 03:18 PM
I have a simple question I wasn't able to answer:
Imagine I have a query.
MATCH (x:X)
WITH x
ORDER BY x.prop
return counter(x), X
where the counter is a number from 0/1 up to the number of the results.
In other words, I want to added a column which represent a counter, so I can later rearrange the results, but maintaining the original reference and then being able to directly access the array of the result.
Is a crazy idea or someone know how to achieve that?
Thanks
Solved! Go to Solution.
10-18-2021 04:02 PM
10-18-2021 04:02 PM
10-18-2021 04:07 PM
Well, seem to be too difficult to implement due to the parallelism.
I solved implementing it in javascript.
But is interesting to discover not to be alone into the universe 😉
All the sessions of the conference are now available online