SQLite: Cannot bind argument at index 1 because the index is out of range. The statement has 0 parameters

后端 未结 2 1240
闹比i
闹比i 2020-12-24 10:18

I\'m getting the following error, and I have no idea why it is occurring. I was wondering if anyone else might be able to shed some light on the issue.

12-2         


        
2条回答
  •  盖世英雄少女心
    2020-12-24 10:50

    In my case I had the question mark inside single quotes like this '?'. Removing the single quotes resolved the error.

    Copied from theblang's comment above.

提交回复
热议问题