I'm using Knex.js and mysql2. Is there a way to figure out how many rows were inserted and how many were updated in this function?
await this.knex("tableName") .insert(arrayOfObjects) .onConflict(["primaryKey1", "primaryKey2"]) .merge()