Sun amount - more than 350'000 rows

prisma

#1

Hi, I have an Invoice model like:

type Invoice {
  id
  amount
}

I have 350’000 invoices. How can I sum amount for all invoices.

This hack cannot work: Query all size limit, as I have too many rows.

related issues:




#2

This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.