Cypher Aggregations
Learn how Cypher aggregation works and how to use list and aggregate functions effectively.
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
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
Posts from the GraphAcademy blog.
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.
Replacing your APOC Periodic Iterate with CALL {} IN TRANSACTIONS
apoc.periodic.iterate is deprecated in Cypher 25. Learn how to rewrite your queries with CALL {} IN TRANSACTIONS.
How Cypher Graph Types Kept Our AI-Generated Queries Honest During a Migration
We rebuilt GraphAcademy against the same Neo4j database. Graph types made sure AI-generated Cypher could not drift from the data model.