DB-API execute params, am I missing something?

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Thu May 28 04:57:13 EDT 2009


In message <mailman.819.1243494051.8015.python-list at python.org>, Dennis Lee 
Bieber wrote:

> On Thu, 28 May 2009 13:12:57 +1200, Lawrence D'Oliveiro
> <ldo at geek-central.gen.new_zealand> declaimed the following in
> gmane.comp.python.general:
> 
>> 
>> What if the string you're searching for includes a "%" or "_" character?
> 
>    >>> db.literal((... "%wildcard%" ...))
>    (... "'%wildcard%'" ...)

Doesn't look like it worked, does it?




More information about the Python-list mailing list