[Tutor] accessing Postgres db results by column name

Serdar Tumgoren zstumgoren at gmail.com
Sat Apr 10 20:04:22 CEST 2010


> I really like Ricardo's solution ... attribute access is a nice touch,
> bookmarking it now.
>
> FWIW, it would seem that psycopg2 also has a DictCursor (and
> DictConnection).
>
> http://initd.org/psycopg/docs/extras.html
>
>
> Ah, yes, there it is. Thank you. This list rocks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20100410/000581d1/attachment.html>


More information about the Tutor mailing list