Message262530
I think the name "parameters" causes a confusion here. It basically means
def execute(sql, parameters):
not
def execute(sql, *parameters):
So ``con.execute('insert into foo values (?, ?)', (4, 5))`` is the correct usage of the API.
Also, this looks like a duplicate of issue 20364. |
|
Date |
User |
Action |
Args |
2016-03-27 18:26:25 | berker.peksag | set | recipients:
+ berker.peksag, ghaering, r.david.murray, BreamoreBoy, Andrew.Myers |
2016-03-27 18:26:25 | berker.peksag | set | messageid: <1459103185.51.0.279300797358.issue18691@psf.upfronthosting.co.za> |
2016-03-27 18:26:25 | berker.peksag | link | issue18691 messages |
2016-03-27 18:26:25 | berker.peksag | create | |
|