• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Oracle driver and $this->db->count_all()

#4
[eluser]Unknown[/eluser]
sorry for bumping the old thread...

I'm working with CI 2.0 + Oracle 10g

i think this

Code:
return (int) $row->numrows;

should be reverted to

Code:
return (int) $row->NUMROWS;

since oracle always returned all fields name capitalized by default


Messages In This Thread
Oracle driver and $this->db->count_all() - by El Forum - 12-27-2008, 07:00 AM
Oracle driver and $this->db->count_all() - by El Forum - 12-29-2008, 04:56 PM
Oracle driver and $this->db->count_all() - by El Forum - 07-10-2009, 02:30 AM
Oracle driver and $this->db->count_all() - by El Forum - 02-27-2011, 09:44 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.