Raw queries run outside of transaction
Closed this issue · 0 comments
lroal commented
The query below creates a new connection instead of using exisiting transaction.
It happens only to raw queries, not model-updates.
await db.transaction(async (db) => {
result = await db.query('select 1 as foo');
});