logo
Course

Aggregates

What are aggregates? Aggregates are a way to calculate statistics on a set of records. In this lesson, we'll learn how to use Prisma to calculate aggregates such as: Count - The number of records in a table. Average - The average value of a field in a table. Sum - The sum of a field in a table.

The rest of this lesson is waiting.
Join JS Mastery Pro to unlock it.

gsap
javascript
nextjs
react native
threejs

Get Full Access

$149 /month

Lock in a year & save—2 months free!

  • Access to all courses

  • Quizzes, mini-challenges, AI summaries, inline sandboxes

  • Participation in a private community

  • Build real production-grade apps

  • Mock interviews & project reviews

  • Weekly live sessions & member-only access