Course · Part of Sharpen your Cypher
Cypher Aggregations
Learn how Cypher aggregation works and how to use list and aggregate functions effectively.
About this course
In this 1-hour course, you will learn
In this course you will learn what aggregation is in Cypher and how it behaves at runtime. You will also review and learn more about the Cypher syntax and functions for working with lists. You will see and run example code that uses the most widely-used aggregation and list functions in Cypher.
Profile and explain how aggregation works at runtime
Work with lists
Use aggregating functions
Course content
3 modules, 1 hour.
- Scalar List Functions5 min
- Finding the Oldest Actor5 min
- Calculating Total Votes5 min
- Functions that Return Lists5 min
- Finding Latest Review5 min
- Finding Common Reviewers5 min
- Functions to Transform Element Types5 min
- Transforming Movie Reviews5 min
- Testing Lists with Predicate Functions5 min
- Filtering Tom Hanks Movies5 min
- Using List Comprehension to Aggregate5 min
- Calculating Actor Ages5 min
Further reading
Posts from the GraphAcademy blog.
9 min read
Writing Cypher Queries That Don't Lose Your Data
The query trap that hides your newest data, and the query shape that brings it back.
Kemi Elizabeth OjogbedeRead post
16 min read
SQL to Cypher - 10 Queries You Already Know
You already know how to write these queries. This article shows you what they look like when the joins go away.
Jeremy MorganRead post
4 min read
TIL: Cypher has a format() function for dates and times
A deprecation warning taught me that Cypher now formats dates, times, and durations natively. No APOC required.
Adam CowleyRead post