Answer the question
In order to leave comments, you need to log in
Why did yiisoft\yii2-sphinx start building queries strangely?
Until recently, everything worked great. And suddenly it is not clear why strange things began to happen. That's exactly what I
'm looking for
$query = new yii\sphinx\Query();
$query->from('siteSearch');
$query->match(new Expression(':match', [
'match' => 'aaaa',
]));
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''aaaa') LIMIT 0, 30' at line 1
as you can see, sql itself works wonders for some kind of goblin
Answer the question
In order to leave comments, you need to log in
Well, just look at what changed before it stopped working normally.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question