In my prototype I’m working on there is single lin...
# ktor
o
In my prototype I’m working on there is single line:
Copy code
application.intercept { next -> db.transaction(request.requestLine.toString()) { next() } }
Which causes all handlers to run in db transaction.