On 2007. May 24., Fabiano Sidler wrote:
> 2007/5/23, Fabiano Sidler <[EMAIL PROTECTED]>:
> > As it seems to me, addBindValue does not properly substitute
> > the placeholders, but leave the query string untouched.
>
> I've found out, that the problem arises because the placeholder is in
> a LIKE statement between the "%" characters. How to substitute such a
> placeholder?
>

Maybe % is special in python (I vaguely remember it being so) — try %% 
perhaps?

-- 
R, finally reregistered on his other address...

_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to