| Message: 94238 |
 |
BY: Simon Macneall (simonmac) DATE: 2010-07-16 12:21 SUBJECT: RE: undefined method 'fetch_row' Hi Praveen,
Basically, we need to keep the application able to work with mysql as well as DB2. So what I was thinking was something along the lines of
if (connected_to_db2)
while (row = IBM_DB.fetch_array(res))
...
end
else
while (row = res.fetch_row)
...
end
end
Thanks
Simon | |