<type 'exceptions.Exception'> : Incorrect number of bindings supplied. The current statement uses 1, and there are XX supplied.
在进行带参数的sql查询时,提示以上报错信息
有两种解决方法:
一:在参数后面加逗号“,”
二:将圆小括号换成方括号
知乎上有个回答解释的很清晰
<type 'exceptions.Exception'> : Incorrect number of bindings supplied. The current statement uses 1, and there are XX supplied.
在进行带参数的sql查询时,提示以上报错信息
有两种解决方法:
一:在参数后面加逗号“,”
二:将圆小括号换成方括号
知乎上有个回答解释的很清晰