MySQLdb, escaping values

John Hunter jdhunter at ace.bsd.uchicago.edu
Wed May 7 09:09:02 EDT 2003


>>>>> "Skip" == Skip Montanaro <skip at pobox.com> writes:

    Skip> I believe you are just supposed to always use %s.  MySQLdb
    Skip> (or _mysql beneath it) takes care of the type info.

Very good to know. That will save me future headaches.

Thanks,
JDH





More information about the Python-list mailing list