Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List columns in where clause #35

Open
phiter opened this issue Dec 27, 2017 · 0 comments
Open

List columns in where clause #35

phiter opened this issue Dec 27, 2017 · 0 comments
Milestone

Comments

@phiter
Copy link

phiter commented Dec 27, 2017

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.

@rentalhost rentalhost added this to the 1.0.0+ milestone Dec 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants