[Twisted-Python] Resource script and adbapi.ConnnectionPool.runInteraction() example? (fwd)
Dave Peticolas
dave at krondo.com
Mon Jun 14 17:11:36 MDT 2004
The attached is a minimal example of using runInteraction.
You'll need to update the db lib, login string, and sql for
your server, but the basic idea should be clear.
---- Original Message ----
From: Craig H. Anderson
Date: Sun 6/13/04 15:35
To: twisted-python at twistedmatrix.com
Subject: [Twisted-Python] Resource script and adbapi.ConnnectionPool.runInteraction()
example? (fwd)
I am trying to use ConnectionPool.runInteraction() in a Resource script
for the first time. Can anyone point me to an example?
Thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ex.py
Type: application/octet-stream
Size: 502 bytes
Desc: not available
URL: </pipermail/twisted-python/attachments/20040614/a8773936/attachment-0002.obj>
More information about the Twisted-Python
mailing list