我有两个列表列[],行[]。我正在尝试在名为docs的表中插入记录。
表docs中的列是:(('suggestedpa', None), ('loadid', None ))
代码
conn.execute('INSERT INTO docs ('+str(columns)+') VALUES ('+str(rows)+')')
错误sqlite3.OperationalError: table docs has no column named 'suggestedpa', 'loadid'
Tags:
一种方法是:
祝你好运
相关问题 更多 >
编程相关推荐