Re: Problems with pgResultSet

"Leo Leo" <[email protected]> Wed, 16 Jun 2004 15:09:58 +0200 (MEST)
Newsgroups gmane.comp.python.db.pypgsql.user
Message-ID <[email protected]>
Hello Karsten!

> Are you sure ? I mean, pgResultSet.__str__ or __repr__
> may simply show it as a list of lists. Did you check
> type(the_result) ?

When my Code is like this:

self.__kCurs.execute(sStatement)
kRes = self.__kCurs.fetchall()
print type(kRes)

it will print "<type 'list'>", so I am pretty sure, that it is a list. I
even set  PgSQL.fetchReturnsList = 0 in my Constructor.

I am stuck...

-- 
+++ Jetzt WLAN-Router für alle DSL-Einsteiger und Wechsler +++
GMX DSL-Powertarife zudem 3 Monate gratis* http://www.gmx.net/dsl



-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND