MCPcopy Index your code
hub / github.com/riverqueue/river / UnwrapTx

Method UnwrapTx

riverdriver/river_driver_interface.go:174–174  ·  view source on GitHub ↗

UnwrapTx gets a driver transaction from an executor. This is currently only needed for test transaction helpers. API is not stable. DO NOT USE.

(execTx ExecutorTx)

Source from the content-addressed store, hash-verified

172 //
173 // API is not stable. DO NOT USE.
174 UnwrapTx(execTx ExecutorTx) TTx
175}
176
177// Executor provides River operations against a database. It may be a database

Callers 10

Test_Client_PilotUsageFunction · 0.65
TestTxFunction · 0.65
JobCancelMethod · 0.65
JobDeleteMethod · 0.65
JobRescueManyMethod · 0.65
JobRetryMethod · 0.65
JobScheduleMethod · 0.65
ExerciseClientFunction · 0.65
TestMigratorFunction · 0.65

Implementers 3

Driverriverdriver/riverpgxv5/river_pgx_v5_dr
Driverriverdriver/riverdatabasesql/river_dat
Driverriverdriver/riversqlite/river_sqlite_d

Calls

no outgoing calls

Tested by 4

Test_Client_PilotUsageFunction · 0.52
TestTxFunction · 0.52
ExerciseClientFunction · 0.52
TestMigratorFunction · 0.52