[DB-SIG] Why the varying paramstyles in DB-API?
Thu, 23 Nov 2000 17:15:18 +0000
Paul DuBois <email@example.com> wrote:
> My question springs out of examination of the MySQLdb driver, which uses
> the format paramstyle. As far as I can tell, that parameter style gives you
> printf-style formatting, nothing more, nothing less. It doesn't add quotes
> around substituted values, doesn't escape special characters, doesn't turn
> None into NULL in the resulting query string, etc.
From an examination of the source, those things are exactly what it