MCPcopy Create free account
hub / github.com/cloudwan/gohan / BeginTx

Method BeginTx

db/db.go:43–43  ·  view source on GitHub ↗
(ctx context.Context, options *transaction.TxOptions)

Source from the content-addressed store, hash-verified

41 Close()
42 Begin() (transaction.Transaction, error)
43 BeginTx(ctx context.Context, options *transaction.TxOptions) (transaction.Transaction, error)
44 RegisterTable(s *schema.Schema, cascade, migrate bool) error
45 DropTable(*schema.Schema) error
46

Callers 3

BeginTxMethod · 0.65
WithinTxFunction · 0.65

Implementers 4

DBdb/sql/sql.go
MockDBdb/mocks/db.go
MockDBMockRecorderdb/mocks/db.go
DBdb/file/file.go

Calls

no outgoing calls

Tested by

no test coverage detected