-
Notifications
You must be signed in to change notification settings - Fork 4
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
[Question] Implementation of whereIn
operator
#3
Comments
Hello. |
True, but that would require me to override the Are you open for a PR for this operator? Or alternatively, might I suggest refactoring the |
I think then it is better to add a new option for the column - the name of the method by which to process the column. ofc open for PR |
@dddeeemmmooonnn that would be a nice refactoring. When added please let me know and I will check if I can implement this feature, hopefully as a PR. I think it would be a neat addon 👍 |
0.5 update |
I am trying to figure out how to implement the eloquent method
whereIn
in combination with an input field where the input is split by some delimiter.Imagine a filter like so:
id
in
"1,2,3"
which would add the following query:
where the array of id's are retrieved as
This would make it possible to filter a resource based on an array of id's for example.
Do you have any pointers as how to implement something like this using your package? Thanks.
The text was updated successfully, but these errors were encountered: