knex insert multiple tables code example
Example: knex insert multiple rows
let dataList = bookshelf.Collection.extend({
model: ModelName,
});
let multipleSaved = dataList.forge([...Your_listOfData]);
multipleSaved
.invokeThen("save")
.then(() => {...})
.catch(err=>{...})