Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread
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


Thread View

Thread Author Date
undefined method 'fetch_row'Simon Macneall2010-07-16 08:30
      RE: undefined method 'fetch_row'Praveen Devarao2010-07-16 08:59
            RE: undefined method 'fetch_row'Praveen Devarao2010-07-16 09:21
                  RE: undefined method 'fetch_row'Simon Macneall2010-07-16 11:13
                        RE: undefined method 'fetch_row'Praveen Devarao2010-07-16 12:13
                              RE: undefined method 'fetch_row'Simon Macneall2010-07-16 12:21
                                    RE: undefined method 'fetch_row'Praveen Devarao2010-07-16 12:31
                                          RE: undefined method 'fetch_row'Simon Macneall2010-07-16 12:33

Post a followup to this message