[Twisted-Python] Simplifying database access in Twisted

Itamar Shtull-Trauring itamar at itamarst.org
Thu Jun 19 20:58:11 EDT 2003


On Thu, 19 Jun 2003 23:13:07 +0200
"Thomas Weholt" <2002 at weholt.org> wrote:

> Just read thru http://www.twistedmatrix.com/documents/howto/enterprise
> and tried to fit the code to my needs, but ... this seems way too
> complicated. All I want is to execute a SQL-query and do something
> similar to fetchone or fetchall etc. in the DB-API 2.0 spec. I don't
> want to be forced to write classes and callbacks etc. just for a
> simple list of tuples or something returned from a SQL-query.

I updated the docs in CVS so they don't discuss Augmentation and instead
talk about the nice clean API that ConnectionPool exposes.

-- 
Itamar Shtull-Trauring    http://itamarst.org/
http://www.zoteca.com -- Python & Twisted consulting




More information about the Twisted-Python mailing list