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

Add exists query #16

Merged
merged 4 commits into from
Aug 24, 2016
Merged

Add exists query #16

merged 4 commits into from
Aug 24, 2016

Conversation

hipsterjazzbo
Copy link
Contributor

@sleimanx2
Copy link
Owner

Yeah seems useful, but how about we create an array argument option so we get a cleaner syntax in case of multiple field existence check ?, ex:

instead of

News::search()->exists('body')->exists('tags')->get();

we get

News::search()->exists(['body','tags'])->get();

... like the sortBy method

@hipsterjazzbo
Copy link
Contributor Author

Good idea. Doneskis. Great package BTW 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants