BatchAgg eliminates N+1 query problems when calculating counts, sums, averages, and other aggregates across associations by using correlated subqueries to fetch all aggregations in a single efficient database call.

Required Ruby Version

>= 3.3.0

Authors

JT Archie

Versions

  1. 0.1.1
    1. source

      1. 0.1.1 source June 24, 2025 (11 KB)
  2. 0.1.0
    1. source

      1. 0.1.0 source June 19, 2025 (13.5 KB)

Pushed by

SHA 256 checksum