withTransaction

suspend fun <T> IAppDatabase.withTransaction(body: suspend T.() -> Unit)

Extensions for easy transaction