async function withTransaction(callback) { const trx = await knex.transaction(); try { const result = await callback(trx); await trx.commit(); return result; } catch (e) ...
DOWNLOAD: https://byltly.com/2f5ivg
DOWNLOAD: https://byltly.com/2f5ivg
knex-nested-transactions
try { await knex.transaction(trx => { async function stuff() { trx.rollback(new Error('alway explicit ... it creates nested transaction by using savepoints in that case.. Jun 25, 2020 — Learn more about knex-aurora-data-api-mysql: package health score, ... While transactions are supported, nested transactions are not. 939c2ea5af
Comments