On Tue, 18 Apr 2006 19:17:40 +0200
Christoph Zwerschke <[EMAIL PROTECTED]> wrote:
>  >>> db.query('select * from mytable').getresult()
> 
> [(1, 'hello'), (2, 'world')]

Or, for a nicer output just print the query object.

>>> db.query('select * from mytable')

>From a script you have to "print" these, of course.

-- 
D'Arcy J.M. Cain
PyGreSQL Development Group
http://www.PyGreSQL.org
_______________________________________________
PyGreSQL mailing list
[email protected]
http://mailman.vex.net/mailman/listinfo/pygresql

Reply via email to