title: Insert array of records into mysql with Node JS
body: <p>I have a array of data something like</p>
  
  <pre><code>var records = [
                 {Name: '', Id: 1},
                 {Name: '', Id: 2},
                 {Name: '', Id: 3},
                 {Name: '', Id: 4},
                 {Name: '', Id: 5},
                 {Name: '', Id: 6}
                ];
  </code></pre>
  
  <p>there could be thousands of items inside records array...</p>
  
  <p>Ques1: Can we create a stored procedure which will accept an array of objects in mysql?</p>
  
  <p>Ques2: Is there a way to bulk insert this data into mysql with Node JS?</p>