calling functions within select (Active Record) |
[eluser]gRoberts[/eluser]
Hi all, Could be related to the following bug: http://codeigniter.com/bug_tracker/bug/7144/ Active Record prefixes functions within the select with the DBPrefix. i.e Code: $this->db->select('sr.*, ifnull(sgr.RoleID, -1) != -1 as ShowActive', false); produces Code: SELECT sr.*, dev_ifnull(sgr.RoleID, -1) != -1 as ShowActive FROM Thanks |
Messages In This Thread |
calling functions within select (Active Record) - by El Forum - 05-06-2009, 05:36 AM
calling functions within select (Active Record) - by El Forum - 05-06-2009, 05:32 PM
calling functions within select (Active Record) - by El Forum - 05-07-2009, 12:59 AM
|