how codeigniter call postgresql function -
postresql function
select payroll.leave_sufix_prefix('234','2014-05-09')
how call codeigniter model
$query = $this->db->query("select * my_function()");
postresql function
select payroll.leave_sufix_prefix('234','2014-05-09')
how call codeigniter model
$query = $this->db->query("select * my_function()");
Comments
Post a Comment