[Twisted-Python] Is there twisted.enterprise.adbapi support for .executemany()?

Nathan nathan.stocks at gmail.com
Tue Apr 15 12:55:28 MDT 2008


Does anyone know of any (possibly experimental)
twisted.enterprise.adbapi support for .executemany() ?

(see http://www.python.org/dev/peps/pep-0249/ -- search for ".executemany")

If not, I'll see if I can't add a runOperationMany() to
twisted.enterprise.adbapi.ConnectionPool.  The functionality I want is
simple in theory.  .executemany runs many identical
insert/update/delete operations using a different dictionary in a
supplied list of dictionaries for the input each time, and returns
None on success of all of the queries, or rolls-back the whole
transaction and returns a failure on an error.  Passing it in any
query that returns results would also result in returning a failure.

~ Nathan




More information about the Twisted-Python mailing list