The One-Element Tuple Bug in mysql-connector cursor.execute: (val) vs (val,) in Python
Share

You write a parameterised INSERT, pass one value, and cursor.execute throws. The SQL looks right and so does the value. The problem is one…

 

 You write a parameterised INSERT, pass one value, and cursor.execute throws. The SQL looks right and so does the value. The problem is one…Continue reading on Medium » Read More Sql on Medium 

#sql

By ali

Leave a Reply