Skip to content

Commit

Permalink
Update StatementInterceptor.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
esperar committed Oct 9, 2023
1 parent 355204a commit eda64ad
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ import org.jetbrains.exposed.sql.statements.api.PreparedStatementApi

interface StatementInterceptor {
fun beforeExecution(transaction: Transaction, context: StatementContext) {}

fun afterStatementPrepared(transaction: Transaction, preparedStatement: PreparedStatementApi) {}

fun afterExecution(transaction: Transaction, contexts: List<StatementContext>, executedStatement: PreparedStatementApi) {}

fun beforeCommit(transaction: Transaction) {}
Expand Down

0 comments on commit eda64ad

Please sign in to comment.