I am using oci8 as my database driver in Codeigniter. While using the following code that calls a stored procedure gives me error :
$this->db->call_function('update_letter_body', $body_letter, $insert_id);
Error : This feature is not available for the database you are using.
What should be done to make this work ?
I am trying to set a value that has more than 4000 characters which doesn't seem to work from direct query and seems like the codeigniter does not support calling functions for oracle. Any suggestions ?
hmmm , try with
$this->db->query("CALL update_letter_body(".$body_letter.",".$insert_id.")");
call_function
enables you to call PHP database functions that are not natively included in CodeIgniter,not for calling procedures you've written.
check the documentation
https://www.codeigniter.com/user_guide/database/call_function.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With