try {
await client.query('BEGIN')
<KYSELY CODE HERE>
await client.query('COMMIT')
} catch (e) {
await client.query('ROLLBACK')
throw e
} finally {
client.release()
}try {
await client.query('BEGIN')
<KYSELY CODE HERE>
await client.query('COMMIT')
} catch (e) {
await client.query('ROLLBACK')
throw e
} finally {
client.release()
}