ITeye博客

PostgreSQL psycopg2:IndexError: tuple index out of range

2057 · 2014-01-09 17:04 · python · postgresql · 编程语言 · Markdown

Postgresql

psycopg2使用like查询的时候出线了这个异常

tuple index out of range

stackoverflow找到了解决办法,即在like后面多加两个%%符号 解决办法参考: http://stackoverflow.com/questions/1734814/why-isnt-psycopg2-executing-any-of-my-sql-functions-indexerror-tuple-index-o/1735731#1735731

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。