Dominik Werder
1/7/2005 4:48:00 PM
Hello!
while using dbi (with postgres) I wondered if there is sth similar to
dbhost#select_all(sql) for prepared statements.
I got a hint to do:
s = dbh.prepare(sql)
dbh.select_all s
but this doesnt work (I get a driver error) and I also wondered why there
can't be a #select_all for a prepared statement itself like:
s = dbh.prepare(sql)
array = s.select_all
wouldn't this be much easier?
thanks!
Dominik