Bulk insert is a special type of api for inserting large amount of data. It is much faster compared to insert api as it does not check and return any thing.

  • var Value={
  • column1:value1
  • column2:value2
  • column3:value3
  • ...
  • columnN:valueN
  • };

  • Connection.bulkInsert({
  • Into: "TABLE_NAME",
  • Values: [Value] ,//you can insert multiple values at a time
  • OnSuccess:function (){
  • alert('Successfully Added');
  • },
  • OnError:function (error) {
  • alert(error.value);
  • }
  • });

Example Next