Replies: 1 comment
-
Hi @UFMurphy, 127.0.0.1:6379> GRAPH.QUERY g "create (:A {v:'ABC'})"
1) 1) "Labels added: 1"
2) "Nodes created: 1"
3) "Properties set: 1"
4) "Cached execution: 0"
5) "Query internal execution time: 0.690751 milliseconds"
127.0.0.1:6379> GRAPH.QUERY g "match (a:A) return a"
1) 1) "a"
2) 1) 1) 1) 1) "id"
2) (integer) 0
2) 1) "labels"
2) 1) "A"
3) 1) "properties"
2) 1) 1) "v"
2) "ABC"
3) 1) "Cached execution: 0"
2) "Query internal execution time: 0.578708 milliseconds"
127.0.0.1:6379> GRAPH.QUERY g "match (a:A) set a.v = tolower(a.v) return a"
1) 1) "a"
2) 1) 1) 1) 1) "id"
2) (integer) 0
2) 1) "labels"
2) 1) "A"
3) 1) "properties"
2) 1) 1) "v"
2) "abc"
3) 1) "Properties set: 1"
2) "Properties removed: 1"
3) "Cached execution: 0"
4) "Query internal execution time: 0.682334 milliseconds" Am I missing something? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi team,
I am migrating an app from Neo4J and running into a pickle.
I have fields for fname and lname (name parts) that are mixed case.
I'd like to reset those fields to be lowercase.
I use the following Cypher:
MATCH (p:Person) SET p.fname = toLower(p.fname)
This does not set the lowercase on the fname field as expected.
But... If I were to set it to a static value, it does work.
MATCH (p:Person) SET p.fname = 'Bill'
Can you help me figure this out?
Thanks,
Jim
Beta Was this translation helpful? Give feedback.
All reactions