[Twisted-Python] How to properly return a dict from adbapi

"Einar S. Idsø" einar.twisted at norsk-esport.no
Tue Feb 20 04:29:41 EST 2007


Itamar Shtull-Trauring wrote:
> Some database adapters will return objects that act like dictionaries,
> or have an extra method that does so. adabpi itself doesn't really
> provide any extra infrastructure for doing so since it's intended as a
> thin layer wrapping db-api.

So in other words: The technique I am using is okay? Or should I be
using one of the other adapters? If so, would you mind pointing me to
some of my options as I haven't been able to find any simple
alternatives to adbapi?

Thanks,
Einar




More information about the Twisted-Python mailing list