You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
A short time ago we have update yii2 framework to last release, sphinx now is says error for mva attribute.
Query:
$countVideos = Video::find()
->where(['kladrs' => [0, 110828]])
->count();
Error:
SQLSTATE[42000]: Syntax error or access violation: 1064 sphinxql: syntax error, unexpected QUOTED_STRING, expecting CONST_INT or '-' near ''0', '110828')'
The SQL being executed was: SELECT COUNT(*) FROM video WHERE kladrs IN ('0', '110828')
Why he quotes int like strings? How to repair this:(( Any ideas?
The text was updated successfully, but these errors were encountered:
Hi!
A short time ago we have update yii2 framework to last release, sphinx now is says error for mva attribute.
Query:
$countVideos = Video::find()
->where(['kladrs' => [0, 110828]])
->count();
Error:
SQLSTATE[42000]: Syntax error or access violation: 1064 sphinxql: syntax error, unexpected QUOTED_STRING, expecting CONST_INT or '-' near ''0', '110828')'
The SQL being executed was: SELECT COUNT(*) FROM
video
WHEREkladrs
IN ('0', '110828')Why he quotes int like strings? How to repair this:(( Any ideas?
The text was updated successfully, but these errors were encountered: