Use of Database.Statefull in Batch Apex when aggregating values for large data
Blog
in Others
We often came across situations in apex where we are required to calculate aggregate data but we have a limitation of 50000 records at a…