title: Insert array of objects using TypeORM in typrscript in table
body: <p>suppose we have a table of fruits and we want to insert multiple record in one query using TypeORM</p>
  <pre class="lang-js prettyprint-override"><code>apple = {
      color: &quot;Green&quot;,
      name:  &quot;apple&quot;,
      price: 400
  }
  banana = {
      color: &quot;yellow&quot;,
      name:  &quot;banana&quot;,
      price: 700
  }
  fruits = [apple, banana]
  repo = repository(fruit_repo)
  repo.insert(fruits)
  </code></pre>
  <p>The last line does not work for list how do i insert in one query without a for loop</p>