database/sql.DB.ExecContext
standard libraryThe 933rd most-called standard-library method by production calls. Called 2,224 times across 76 modules; 709 of those run outside tests and generated code.
- prod calls
- 709
- non-test, non-generated
- all calls
- 2,224
- total callsites
- modules
- 76
- distinct callers
- in loop
- 11%
- of prod calls
- in tests
- 68%
- 1,515 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 method99%A method on a value whose type is known exactly.
- Embedded method<1%Reached through an embedded type.
who calls this
Notable callers
Production calls into DB.ExecContext from notable Go projects. Open one on the map to see what else it hammers.
- CockroachDB 59 8%
- ClickHouse 36 5%
- Grafana 9 1%
- Vault 3 <1%
- containerd 2 <1%
where it's called
Callsites in the wild
12 representative callsites of 2,224, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
cockroachdb/cockroach @v19.2.12+incompatible
in loop -
encr.dev @v1.57.13
cli/daemon/engine/trace2/sqlite/write.go:97
in loop - in loop
- in loop
-
cloudnative-pg/cloudnative-pg @v1.30.0
internal/management/controller/publication_controller_sql.go:73 ↗
in loop - in loop
- in loop
- in loop
- in loop
- in loop
- in loop
top callers
The modules that reach for it
The modules that call DB.ExecContext most in this snapshot.
- github.com/hashicorp/boundary38417%
- github.com/steveyegge/beads31814%
- github.com/gastownhall/beads31514%
- github.com/bytebase/bytebase1306%
- github.com/benbjohnson/litestream1125%
siblings
More from database/sql
The other most-called members in this package. See all →