PEP 249 (database api) -- executemany() with iterable?

Jon Clements joncle at googlemail.com
Tue Oct 12 13:20:38 EDT 2010


On 12 Oct, 16:10, Roy Smith <r... at panix.com> wrote:
> PEP 249 says about executemany():
>
>         Prepare a database operation (query or command) and then
>         execute it against all parameter sequences or mappings
>         found in the sequence seq_of_parameters.
>
> are there any plans to update the api to allow an iterable instead of
> a sequence?

I'm not understanding (probably me). Example?



More information about the Python-list mailing list