sqldelight-runtime / com.squareup.sqldelight.logs / LogSqliteDriver / currentTransaction

currentTransaction

fun currentTransaction(): Transaction?

Overrides SqlDriver.currentTransaction

The currently open Transacter.Transaction on the database.

It's up to the implementor how this method behaves for different connection/threading patterns.