[Twisted-web] my first post,
writing a Web interface to a PostgreSQL db
Valentino Volonghi aka Dialtone
dialtone at divmod.com
Mon Oct 17 12:20:44 MDT 2005
On Mon, Oct 17, 2005 at 09:34:20AM +0000, Michele Simionato wrote:
> Does the standard module have any introspection feature? I mean, for instance
> getting the field names? Using the DB API 2.0 interface I can extract the
> information from the cursor .description attribute, but how do I get the
> information from twisted.enterprise?
With runInteraction you get a standard DB-API2 cursor on which you can call
whatever you want.
--
Valentino Volonghi aka Dialtone
Now Running MacOSX 10.4
Blog: http://vvolonghi.blogspot.com
http://weever.berlios.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://twistedmatrix.com/pipermail/twisted-web/attachments/20051017/09da057a/attachment.bin
More information about the Twisted-web
mailing list