Tucker-Eric/EloquentFilter

Add orWhereLike

khobiziilyes opened this issue · 2 comments

Hey, Simply i had to write:
return $this ->whereLike('name', $term) ->orWhereRaw('LOWER(brand) LIKE ?', ['%' . $term . '%']);
So it would be helpful to :

return $this ->whereLike('name', $term) ->orWhereLike('brand', $term);

Thank you for the great package !

https://github.com/Tucker-Eric/EloquentFilter/issues/78
Found the solution, Hope that it would be added to the documentation.
image