(07-09-2019, 02:42 AM)InsiteFX Wrote: If your using CodeIgniter's Model then you need to extend it into your own Model Class.
What do you mean? Example?
I have my namespace and use CI Model.
PHP Code:
namespace Modules\Test\Models;
use CodeIgniter\Model;
After seeing what parameters the update() function accepts, I realized that instead of "->where()->" you can use the parameter inside the "update($where, ['key' => $param ])" function. Only in vain created a topic ((
But the truth is, I did not quite understand how to work with the replacement then, since this "replace()" function accepts only an array of data.