CodeIgniter Forums
Model::update() is dangerous - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=31)
+--- Thread: Model::update() is dangerous (/showthread.php?tid=84833)

Pages: 1 2 3


RE: Model::update() is dangerous - iRedds - 11-29-2022

How often do you change all records in a database table, making them the same? In my opinion, the probability of this is less than one percent.
I don't see the point of adding a method that would change all records in the table.


RE: Model::update() is dangerous - kenjis - 11-29-2022

@iRedds Okay, your opinion is we don't need new updateAll() method in Model.