M.-A. Lemburg wrote:
>>The ones I know about (pysqlite 1.x, pyPgSQL, psycopg, MySQLdb) all only 
>>look at the Python values, not at the pyformat format character for 
>>deciding how to bind the variable.
> 
> 
> If that's the case, then I suppose supporting qmark style
> wouldn't be too much of a problem.

AFAIK, they all use %, so you have to do execute("%s like 'foo%%'", 
(value,)); this is quite different from qmark.



-- 
Ian Bicking  /  [EMAIL PROTECTED]  /  http://blog.ianbicking.org
_______________________________________________
DB-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/db-sig

Reply via email to