Commonly used Functions
String Functions
match (a) return toUpper(a.firstname);
RETURN left('hello', 3)
RETURN lTrim(' hello')
RETURN replace("hello", "l", "w")
RETURN reverse('hello')
RETURN substring('hello', 1, 3), substring('hello', 2)
RETURN toString(11.5),
toString('already a string'),
toString(true),
toString(date({year:1984, month:10, day:11})) AS dateString,
toString(datetime({year:1984, month:10, day:11, hour:12, minute:31, second:14, millisecond: 341, timezone: 'Europe/Stockholm'})) AS datetimeString,
toString(duration({minutes: 12, seconds: -60})) AS durationString
Aggregation Functions
Date and Time Functions
List Functions
Mathematical Functions
Logical Functions
Spatial Functions
Last updated