ChristianCalvoLeon aa70423a45 Add docker structure and support hace 5 meses
..
MY_DB_mysqli_driver.php Add docker structure and support hace 5 meses
MY_Loader.php Add docker structure and support hace 5 meses
README.md Add docker structure and support hace 5 meses
index.html Add docker structure and support hace 5 meses

README.md

CodeIgniter-Insert-Batch-on-DUPLICATE-KEY-Update

This class helps you to extend the codeigniter mysqli driver to be able to support update on duplicate while inserting batch feature. This allows you to be able to supply an array of key value pairs to be inserted into separate rows.

  1. Copy Both My_Loader.php and MY_DB_mysqli_driver.php to "application/core" folder.
  2. Use $this->db->insert_on_duplicate_update_batch() inseated of $this->db->insert_batch()

This will auto update data if duplicate key occurs in DB.

Support By: Ranglerz