# withSuspendTransaction

suspend fun <T> JdbcTransaction.withSuspendTransaction(context: CoroutineContext? = null, statement: suspend JdbcTransaction.() -> T): T

### Deprecated

" This function will be removed in future releases. Replace with `suspendTransaction()` call. `suspendTransaction()` doesn't allow to pass context as a parameter, use `withContext()` if you need to use transaction with custom context.