Hi guys. In KMP using Room lib what is the functio...
# room
l
Hi guys. In KMP using Room lib what is the function that does the same that the native function androidx.room.withTransaction?
f
@Transaction
l
Ok, and if I don't want to use the annotation there is other way?
d
Try:
Copy code
db.useWriterConnection { transactor ->
    transactor.immediateTransaction {
        // Your in-transaction code
    }
}