Am 22.09.2012 18:00, schrieb [email protected]:
Re: Parameterised queries in classic interface
Hi Patrick,
to me this is definitively a good step forward. please allow me to
share a feeling, it might be more cleaner design to handover the
arguments packed as a tuple.
db.query("insert into x (a,b,c) values ($3,$1,$2)", *(*'bravo', 3,
'alpha'*)* )
db.query("select * from x where a = $1", *(*'alpha',*)* )
Kind Regards
Nico
_______________________________________________
PyGreSQL mailing list
[email protected]
https://mail.vex.net/mailman/listinfo.cgi/pygresql