+1 vote
in Databases by (51.8k points)
I want to return values of a Cypher query in lowercase. Is there any Neo4j function to do this?

1 Answer

+2 votes
by (281k points)
selected by
Best answer

You can use the toLower() function. It returns the output string in lowercase.

Here is an example to convert the returned string to lowercase:

MATCH (d:Disease) 

RETURN toLower(d.node_label) 

LIMIT 1;  

You can modify the above query according to your requirements.

Related questions

+1 vote
1 answer
+4 votes
1 answer
+3 votes
1 answer