+1 vote
in Databases by (60.0k points)
Is there any function to reverse a returned value in Neo4j Cypher query?

1 Answer

+1 vote
by (72.7k points)
selected by
 
Best answer

You can use the reverse() function that returns a reversed string. Here is an example to show how to use it.

MATCH (d:Disease) 

RETURN reverse(d.node_label) 

LIMIT 1;

The node_label will be displayed in the reverse order in the above example.

Related questions


...