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


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.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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