First I'd like to say thanks for a such great library, helped me a lot in many projects
Now I'm trying to use it with sqlite. When i use only Model::search no errors are raised but if I try to mix queries in this specific order Model::where('field', '=', 'value')->search('keyword') the exception is raised.
As a work around, i had to invert the order of the scopes, calling search first and them others like this
I could leave the code like this since it is working, but i think this will lead me to performance issues in the future when it'll have hundreds if not thousands of records.
First I'd like to say thanks for a such great library, helped me a lot in many projects Now I'm trying to use it with sqlite. When i use only
Model::search
no errors are raised but if I try to mix queries in this specific orderModel::where('field', '=', 'value')->search('keyword')
the exception is raised. As a work around, i had to invert the order of the scopes, callingsearch
first and them others like thisI could leave the code like this since it is working, but i think this will lead me to performance issues in the future when it'll have hundreds if not thousands of records.
Any idea to solve this issue?