Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- public function update($orderdetails = []) {
- if (!is_array($orderdetails)) {
- throw new Exception('Orderdetails must be array');
- }
- $this->db->update_batch('orderdetails', $orderdetails, 'item_id');
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement