hello,

I couldn't find how the dbapi2 planned to handle the sql IN statement.

ex :
SELECT * FROM table WHERE num IN (2,3,8,9);

I'd be glad to take advantage of the ? mechanism, but what about
tuples !

execute("""SELECT * FROM table WHERE num IN ?;""" ,
((2,3,8,9),))    ...fail...

what would be the most pythonic way to do this ?

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to