Runs the given DELETE/INSERT command against each input chunk.