Eloquent::chunkById PHP Method

chunkById() public static method

Chunk the results of a query by comparing numeric IDs.
public static chunkById ( integer $count, callable $callback, string $column = 'id' ) : boolean
$count integer
$callback callable
$column string
return boolean
        public static function chunkById($count, $callback, $column = 'id')
        {
            return \Illuminate\Database\Eloquent\Builder::chunkById($count, $callback, $column);
        }
Eloquent