Chris Bellas

Results 2 comments of Chris Bellas

For anyone still interested, you can pass a callback function to the Scout Builder instance. ```php $columns = ['id', 'name']; Person::search($searchString)->query(function($query) use ($columns) { $query->select($columns); })->get(); ```

I had the same issue with gcc-11. However, it compiles fine with gcc-9.