How to use affected_rows in CI4? |
I am using a custom model that extends the built-in Model in CI4. I want to know how I can perform the function $this->db->affected_rows() after deleting a row. Most examples online demonstrate how to achieve this using a custom model, rather than extending the CI4 model. Any suggestions would be appreciated.
PHP Code: // this What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |