----- Forwarded message from Bob Hunter <[EMAIL PROTECTED]> -----

Date: Tue, 27 Feb 2007 08:03:19 -0800 (PST)
From: Bob Hunter <[EMAIL PROTECTED]>
Subject: DBI's method for reading [row x,field y]
To: Tim Bunce <[EMAIL PROTECTED]>
X-Pobox-Pass: [EMAIL PROTECTED] is whitelisted

Tim,


I am porting an application from Pg to DBI, and make
extensive use of the following method:

Returns the value of the given record and field
number:   
$sth->getvalue($rn,$fn)

In particular, I use expressions like

$sth->getvalue($rn+$i,$fn-$j)

where the the number of record/field are displaced by
variables. As far as I can see from your book, DBI has
a method to work one row at the time, in sequence.
This is way too simple to handle the case above. I
looked for a more powerful DBI method, but it does not
seem to exist. Is it so? Please give me an insider's
view of this problem. Does DBI have an equivalent to
Pg' method "getvalue"? If not, can you please copy it
from Pg's module, and make it available in DBI?

Regards,
Bob



 
____________________________________________________________________________________
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121

----- End forwarded message -----

Reply via email to