sqldelight-runtime / com.squareup.sqldelight.db / SqlDriver / currentTransaction

currentTransaction

abstract fun currentTransaction(): Transaction?

The currently open Transacter.Transaction on the database.

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