📜  laravel 模型 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:29.575000             🧑  作者: Mango

代码示例6
use App\Models\Flight;

Flight::chunk(200, function ($flights) {
    foreach ($flights as $flight) {
        //
    }
});