laravel-insight
laravel-insight copied to clipboard
List columns in where clause
When using query builder, you can use the where clause as follows:
User::where('name', 'like', '%user%');
The first parameter always expect a column name.
It would be nice if that parameter could be hinted with the annotated columns in the PHPDoc on the classes.