laravel-insight icon indicating copy to clipboard operation
laravel-insight copied to clipboard

List columns in where clause

Open phiter opened this issue 6 years ago • 0 comments

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.

phiter avatar Dec 27 '17 12:12 phiter