For example, can I have such a command that generate the increment of number?
MATCH (n)
RETURN n, number_increment
node A 1
node B 2
node C 3
node D 4
I want to assign id to a group of nodes (not the id(n)
one) and I need a chain of increasing number. Is this doable in Cypher or I need to use another language?