We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1050e3 commit 131c36cCopy full SHA for 131c36c
1 file changed
IllyriaKingdoms/src/managers/DatabaseManager.kt
@@ -39,15 +39,4 @@ internal object DatabaseManager {
39
IllyriaKingdoms.instance.logger.info("Database connection closed")
40
}
41
42
-
43
- /**
44
- * Executes a database transaction.
45
- * Automatically handles transaction scope and error handling.
46
- *
47
- * @param block The transaction block to execute
48
- * @return The result of the transaction block
49
- */
50
- fun <T> transaction(block: () -> T): T =
51
- org.jetbrains.exposed.sql.transactions
52
- .transaction(database) { block() }
53
0 commit comments