Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions riverdriver/river_driver_interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ type Driver[TTx any] interface {
// API is not stable. DO NOT USE.
UnwrapExecutor(tx TTx) ExecutorTx

// UnwrapTx gets a driver transaction from an executor. This is currently
// only needed for test transaction helpers.
//
// API is not stable. DO NOT USE.
UnwrapTx(execTx ExecutorTx) TTx
}

Expand Down