• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Insert_Batch with update for duplicate key

#1
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.
Reply


Messages In This Thread
Insert_Batch with update for duplicate key - by vikrantphp - 10-17-2016, 02:12 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.