From: Jon-Pierre G. <jg...@se...> - 2005-01-13 01:00:30
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 Gerhard Haering wrote: >>I was curious as to whether or not anyone has attempted to implement >>a cursor that returns a dictionary keyed from column names, similar >>to the MySQLdb.DictCursor class? I am not familiar enough with libpg >>to implement it myself. > > > The default cursor works like both the DB-API cursor and MySQLdb's > DictCursor. Try it :-) Ha! Imagine that. I completely looked over that aspect of it. Thank you very much! - -- _________________________________________________________ Jon-Pierre Gentil PGP: 0xA21BC30E jabber: jg...@se... web: www.sebistar.net "If you think education is expensive, try ignorance." _________________________________________________________ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iEYEAREDAAYFAkHlyBsACgkQOrVFmaIbww5XAgCgmaClLTvB8wcbpJx29Agv943o o/MAoL9WQb0lKYUsmuPmhR9YDXFzvRLm =0KBT -----END PGP SIGNATURE----- |