gorm.io/gorm.DB.Session
third-partyThe 4725th most-called third-party method by production calls. Called 213 times across 19 modules; 133 of those run outside tests and generated code.
1% in production calls vs 2026-W48 (132 → 133)
- prod calls
- 133
- non-test, non-generated
- all calls
- 213
- total callsites
- modules
- 19
- distinct callers
- in loop
- 10%
- of prod calls
- in tests
- 37%
- 79 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 DB.Session from notable Go projects. Open one on the map to see what else it hammers.
- SPIFFE 1 <1%
where it's called
Callsites in the wild
12 representative callsites of 213, prioritizing in-loop and non-test usage. We link to source, never display it.
-
gorse-io/gorse @v0.5.11
in loop - in loop
-
gorm.io/gorm @v1.31.2
callbacks/delete.go:47
in loop - in loop
-
gorm.io/gorm @v1.31.2
callbacks/delete.go:85
in loop -
gorm.io/gorm @v1.31.2
callbacks/preload.go:155
in loop -
gorm.io/gorm @v1.31.2
statement.go:216
in loop -
gorm.io/gorm @v1.31.2
migrator/migrator.go:218
in loop -
gorm.io/gorm @v1.31.2
finisher_api.go:219
in loop -
gorm.io/gorm @v1.31.2
migrator/migrator.go:323
in loop -
gorm.io/gorm @v1.31.2
callbacks/associations.go:350
in loop -
gorm.io/gorm @v1.31.2
callbacks/associations.go:350
in loop
top callers
The modules that reach for it
The modules that call DB.Session most in this snapshot.
- github.com/Tencent/WeKnora5124%
- gorm.io/gorm4421%
- github.com/infiniflow/ragflow2813%
- github.com/photoprism/photoprism2411%
- gorm.io/gen2210%
siblings
More from gorm.io/gorm
The other most-called members in this package. See all →