package require DIO

set dbh [DIO::handle Postgresql dbh -db shopping]

$dbh array "select id, code from codes" res

puts $res(code)

This barfs because 'res' is a magic name.  I don't mind picking another
name, but it's a minor annoyance.

Ciao,
-- 
David N. Welton
- http://www.dedasys.com/davidw/

Linux, Open Source Consulting
- http://www.dedasys.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to