loopback create many
snippet in javascript

loopback create many

user213

this.productApi.create(
  [
    {name: "Toy Car"},
    {name: "Purse"},
    {name: "Charger"}
  ]
).subscribe((res)=>console.log(res))