hediet/ts-typed-sql

Allow setting transaction isolation level

Closed this issue · 4 comments

Now, transaction has two overloadings:

dbCon.transaction({ isolationLevel: IsolationLevel.Serializable }, async q => { ... });
dbCon.transaction(async q => { ... });