Tucker-Eric / EloquentFilter

An Eloquent Way To Filter Laravel Models And Their Relationships
http://tucker-eric.github.io/EloquentFilter
MIT License
1.72k stars 120 forks source link

Added recursive filtering for empty arrays #134

Closed simon28082 closed 4 years ago

simon28082 commented 4 years ago

Sometimes, we will receive array parameters, usually we will use whereIn() to filter, but in many scenarios, if it is an empty array, there is no need to execute the method