Skip to content
callcount

database/sql.Conn.QueryRowContext

standard library

The 7570th most-called standard-library method by production calls. Called 155 times across 18 modules; 79 of those run outside tests and generated code.

0% in production calls vs 2026-W37 (0 → 79)

All of database/sql → Docs on pkg.go.dev ↗

prod calls
79
non-test, non-generated
all calls
155
total callsites
modules
18
distinct callers
in loop
5%
of prod calls
in tests
49%
76 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 method100%A method on a value whose type is known exactly.

who calls this

Notable callers

Production calls into Conn.QueryRowContext from notable Go projects. Open one on the map to see what else it hammers.

where it's called

Callsites in the wild

12 representative callsites of 155, prioritizing in-loop and non-test usage. We link to source, never display it.

Conn.QueryRowContext · 12 of 155 callsites
  • in loop
  • modernc.org/sqlite @v1.59.0

    examples/connector/main.go:122

    in loop
  • in loop
  • modernc.org/sqlite @v1.59.0

    examples/connector/main.go:126

    in loop
  • modernc.org/sqlite @v1.59.0

    dbstatus_test.go:90

    in loop test
  • modernc.org/sqlite @v1.59.0

    func_ctx_pool_test.go:127

    in loop test
  • modernc.org/sqlite @v1.59.0

    defensive_test.go:154

    in loop test
  • modernc.org/sqlite @v1.59.0

    defensive_test.go:160

    in loop test
  • modernc.org/sqlite @v1.59.0

    func_ctx_pool_test.go:190

    in loop test
  • modernc.org/sqlite @v1.59.0

    defensive_test.go:194

    in loop test
  • modernc.org/sqlite @v1.59.0

    defensive_test.go:200

    in loop test
  • modernc.org/sqlite @v1.59.0

    all_test.go:4357

    in loop test

top callers

The modules that reach for it

The modules that call Conn.QueryRowContext most in this snapshot.

  • github.com/golang-migrate/migrate/v43321%
  • github.com/gastownhall/beads2415%
  • github.com/steveyegge/beads2415%
  • modernc.org/sqlite1912%
  • github.com/bytebase/bytebase117%

siblings

More from database/sql

The other most-called members in this package. See all →