Re: Problems with pgResultSet

Karsten Hilbert <[email protected]> Wed, 16 Jun 2004 14:44:35 +0200
Newsgroups gmane.comp.python.db.pypgsql.user
Message-ID <[email protected]>
> The Statement itself returns more than one line
> 
> Now the Problem is, that the fetchall()-Method returns a list
> [[...],[...],...] and not a pgResultSet as mentioned in the documentation.
Are you sure ? I mean, pgResultSet.__str__ or __repr__
may simply show it as a list of lists. Did you check
type(the_result) ?

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346


-------------------------------------------------------
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