l5-repository
l5-repository copied to clipboard
add operators "in" and "between"
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'
I am not sure about this, if another requirement about this happens. We can again check this
I've add new update to be possible use "in" and "between" on OR condition too on 631bd2ee61499f7fa9135eb518d19ff820ff701e
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