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 operators "in" and "between" #512

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

pedroufv
Copy link

I've created these two operators to increase search capability.
Use the comma for each parameter as 'period: start_at, end_at' or 'id:1,2,3,4'

@bsormagec
Copy link
Collaborator

I am not sure about this, if another requirement about this happens. We can again check this

@pedroufv
Copy link
Author

I've add new update to be possible use "in" and "between" on OR condition too on 631bd2e

I think that class need be refactor, splitting the behavior in methods to improve read and mantaine.

I created a Trait to have the same thing as this class: https://github.com/laravelha/support/blob/master/src/Traits/RequestQueryBuildable.php

On this, I separate in methods, but it work into Eloquent

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.

3 participants