Quantcast
Channel: CodeIgniter Forums - All Forums
Viewing all articles
Browse latest Browse all 14348

Insert_Batch with update for duplicate key

$
0
0
Hi,

I am looking for a function where I can do following.
Insert the records in batch into table when input is provided as array of data to update records along with table name, but when key is not found to update the records it should perform insert.

I am using HMVC for my application.

Any help is much appreciated.

Thanks,
Vikrant.

Viewing all articles
Browse latest Browse all 14348

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>