S0RIEN/DataGridBundle — comment on commit a783b6b09865fdc49e24b8a5e593e8d37dda1b63
File:  line 0
By S0RIEN:

example: table 100k rows

you have 4 options how to select mass action rows select_visible | deselect_visible | select_all | desellect all

so when you select select_all you expecting that you will get 100k ids mass grid call back and i think its useless

because you need to iterate over all ids

foreach ($ids as $id)
query("UPGATE `foo` SET `faa`='0' where id ='$id'") // it means 100k + 1 (fetching all query id)

but whey you know that all ids were selected you can do
query("UPGATE `foo` SET `faa`='0'") //1query :)