MCPcopy
hub / github.com/ent/ent / Committer

Interface Committer

entc/integration/migrate/entv2/tx.go:48–50  ·  view source on GitHub ↗

Committer is the interface that wraps the Commit method.

Source from the content-addressed store, hash-verified

46type (
47 // Committer is the interface that wraps the Commit method.
48 Committer interface {
49 Commit(context.Context, *Tx) error
50 }
51
52 // The CommitFunc type is an adapter to allow the use of ordinary
53 // function as a Committer. If f is a function with the appropriate

Callers 1

CommitMethod · 0.95

Implementers 15

Txentc/integration/migrate/entv2/tx.go
txDriverentc/integration/migrate/entv2/tx.go
Txentc/integration/migrate/entv1/tx.go
txDriverentc/integration/migrate/entv1/tx.go
Txentc/integration/migrate/versioned/tx.
txDriverentc/integration/migrate/versioned/tx.
Txentc/integration/gremlin/ent/tx.go
txDriverentc/integration/gremlin/ent/tx.go
Txentc/integration/ent/tx.go
txDriverentc/integration/ent/tx.go
Txentc/integration/idtype/ent/tx.go
txDriverentc/integration/idtype/ent/tx.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…