jarektkaczyk / eloquence

Extensions for the Eloquent ORM
http://softonsofa.com
MIT License
1.09k stars 142 forks source link

Can the search() method be chained fluently? #239

Closed eddiebeltran33 closed 5 years ago

eddiebeltran33 commented 6 years ago

I want to archive something like this:

Model::search('something',['column1','related.column2'])->search('something else');

This seems to only work in the first call. Every other call overrides previous ones.

jarektkaczyk commented 5 years ago

there can be only 1 call indeed.