Open phiter opened 6 years ago
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.
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.