title: Batch insert of array data into mysql database using objection.js
body: <p>I have an array</p>
  
  <pre><code>newData = [{ sId: 'XXXXXX', itemlName: 'LSｽﾄﾚｯ', iCode: 'XXXXXX', iType: '', skus: 'XXXXXXX', iLevel: 'L2', cCode: '88', cName: 'Other', sCode: '999', sName: 'No Control', pLengthCode: '988', core: 'N', sCode: '1', dCode: 'XX', gDeptCode: 'XX', gDeptName: 'Women\\\'s Items', rCode: 'jqs' },{ sId: 'XXXXXX', itemlName: 'LSｽﾄﾚｯ', iCode: 'XXXXXX', iType: '', skus: 'XXXXXXX', iLevel: 'L2', cCode: '88', cName: 'Other', sCode: '999', sName: 'No Control', pLengthCode: '988', core: 'N', sCode: '1', dCode: 'XX', gDeptCode: 'XX', gDeptName: 'Women\\\'s Items', rCode: 'jqs' }]
  </code></pre>
  
  <p>I wants to insert <code>newData</code> in to mysql database using objection.js. But when I run my node application , I got the error saying:</p>
  
  <blockquote>
    <p>Error: batch insert only works with Postgresql</p>
  </blockquote>
  
  <p>My insert code is -:</p>
  
  <pre><code>samplemodel.query().insert( newData );
  </code></pre>
  
  <p>How can I perform the batch insertion of array data in mysql data base using objection.js?</p>