SQL functions on DB class |
Hello,
Is there a way to run SQL function with the CI db class?(ie: COMPRESS(?)) In slim framework I'm using it in this way: PHP Code: $data = array( Is there something similar in CI? Thanks!
An update:
Ended up with converting the insert to query binds. Hopefully it'll help someone in the future.
Depending on the version of CI you are using this might help you out: https://codeigniter.com/user_guide/datab...ction.html
Maybe:
PHP Code: $this->db->query('COMPRESS(?)', data); |
Welcome Guest, Not a member yet? Register Sign In |