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
Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1
原因是这个查询生成的 SQL 语句是 ..... WHERE foo IN () ....
这样的语句在 MySQL 中是非法的。
希望在 in 查询传入空数组的时候,自动忽略这个 IN 条件
The text was updated successfully, but these errors were encountered:
下面的查询
会报错:
原因是这个查询生成的 SQL 语句是 ..... WHERE foo IN () ....
这样的语句在 MySQL 中是非法的。
希望在 in 查询传入空数组的时候,自动忽略这个 IN 条件
The text was updated successfully, but these errors were encountered: