[3.1.5] Update Batch and Where Problems - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6) +--- Forum: CodeIgniter 3.x (https://forum.codeigniter.com/forumdisplay.php?fid=17) +--- Thread: [3.1.5] Update Batch and Where Problems (/showthread.php?tid=68561) |
[3.1.5] Update Batch and Where Problems - rodrigoprazim - 07-27-2017 Hi, I have the following Scenario: Code: public function update_data($data=NULL){ I have over 100 data to be updated, so, the top 100 look like this: Code: // Produces: However, the next data is missing WHERE: Code: // Produces: RE: [3.1.5] Update Batch and Where Problems - jarmen_kell - 07-27-2017 (07-27-2017, 06:08 PM)rodrigoprazim Wrote: Hi, Have you tried method chaining? PHP Code: <?php RE: [3.1.5] Update Batch and Where Problems - rodrigoprazim - 07-30-2017 Yes, go through something. RE: [3.1.5] Update Batch and Where Problems - jarmen_kell - 07-30-2017 (07-30-2017, 06:12 AM)rodrigoprazim Wrote: Yes, go through something. you might wanna ask more on CI's Slack channel instead: codeigniterchat.slack.com the way this forum moderate my reply for you before being published in much too long time (in 24 hours) kind of inconvenient. use this URL to to retrieve an invitational link. it's instantaneous. http://codeignitersignup.ciblox.com/ |