[clug] Python & databases

Brendan Jurd direvus at gmail.com
Mon Feb 22 00:31:23 MST 2010


On 22 February 2010 18:29, Brendan Jurd <direvus at gmail.com> wrote:
> Right, I'm with you now.  The paramstyle thing is unfortunate.
>
> To solve that problem, how about writing a little bit of Python to
> interrogate the paramstyle [1] of the database driver you happen to be
> using and put the appropriate parameter markers into your SQL?
>
> I realise it's not a beautiful solution, but it'll do the job.
>



More information about the linux mailing list