database/sql.Tx.Commit
standard libraryThe 1455th most-called standard-library method by production calls. Called 667 times across 89 modules; 420 of those run outside tests and generated code.
- prod calls
- 420
- non-test, non-generated
- all calls
- 667
- total callsites
- modules
- 89
- distinct callers
- in loop
- 3%
- of prod calls
- in tests
- 37%
- 247 calls
- resolved
- 100%
- to a known target
resolution mix
How each call resolves
How each call was attributed. Only resolved kinds, where the target function is known, count toward the ranking. Interface dispatch and unresolved receivers are reported separately and never guessed. Read the taxonomy →
- Concrete method95%A method on a value whose type is known exactly.
- Embedded method5%Reached through an embedded type.
who calls this
Notable callers
Production calls into Tx.Commit from notable Go projects. Open one on the map to see what else it hammers.
- ClickHouse 19 5%
- Vault 15 4%
- Helm 2 <1%
- InfluxDB 2 <1%
- CockroachDB 1 <1%
where it's called
Callsites in the wild
12 representative callsites of 667, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
- in loop
- in loop
- in loop
- in loop
- in loop
- in loop
-
miniflux.app/v2 @v2.3.3
internal/database/database.go:45
in loop -
vitess.io/vitess @v0.24.2
test/client/client.go:67
in loop - in loop
-
miniflux.app/v2 @v2.3.3
internal/storage/feed.go:322
in loop
top callers
The modules that reach for it
The modules that call Tx.Commit most in this snapshot.
- github.com/ClickHouse/clickhouse-go/v26910%
- github.com/bytebase/bytebase639%
- github.com/cockroachdb/cockroach497%
- github.com/gastownhall/beads457%
- github.com/steveyegge/beads457%
siblings
More from database/sql
The other most-called members in this package. See all →