Rails provides a method called in_batches that can be used to iterate over rows ... Notice that the query only reads data from the index ( INDEX ONLY SCAN ) ...
確定! 回上一頁