Batches 批量查询
find_each
find_in_batches
in_batches一般,find_each 后面参数都是 block,此时作用的 find_in_batches 类似(:batch_size 默认是 1000)
最后更新于
这有帮助吗?
find_each
find_in_batches
in_batches一般,find_each 后面参数都是 block,此时作用的 find_in_batches 类似(:batch_size 默认是 1000)
最后更新于
这有帮助吗?