Redis – knex query optimisation for batch insert / update transactions
I am new to knex.js for mysql queries, I have following three queries which take a long time to resolve. is there a better way to do the following await db.transaction((trx) => { let queries = existingProductsArr.map((tuple) => { const…