All technological notes.
| Function | Description |
|---|---|
count() |
count the number of rows |
// count the number of rows
MATCH (n { name: 'A' })-->(x)
RETURN n, count(*)
// Group COUNT
Match(n{name: "India", result: "Winners"})-[r]-(x)
RETURN type (r), count(*)
// return type and number of relationships
| Function | Description |
|---|---|
UPPER() |
change all letters into upper case letters. |
LOWER() |
change all letters into lower case letters. |
SUBSTRING() |
get substring of a given string. |
Replace() |
replace a substring with a given substring of a string. |