Reduce data in database using codeigniter 4 |
Below is my code snippet, I'm using ionAuth, I think it's the same as updating using modeling in codeigniter 4, only there is a slight difference.
Question: How do I reduce the data, namely the balance in the database using codeigniter 4, I didn't find it on google and youtube..I want to reduce the data, namely the balance in my database using the update() function. Code: dd($this->ionAuth->update($this->ionAuth->users()->row()->id, ['balance' => 1000])); |
Welcome Guest, Not a member yet? Register Sign In |