gorm.io/gorm.DB.Session
third-partyThe 6487th most-called third-party method by production calls. Called 129 times across 17 modules; 94 of those run outside tests and generated code.
0% in production calls vs 2026-W39 (0 → 94)
- prod calls
- 94
- non-test, non-generated
- all calls
- 129
- total callsites
- modules
- 17
- distinct callers
- in loop
- 12%
- of prod calls
- in tests
- 26%
- 34 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.
where it's called
Callsites in the wild
12 representative callsites of 129, prioritizing in-loop and non-test usage. We link to source, never display it.
-
gorse-io/gorse @v0.5.11
in loop -
gorm.io/gorm @v1.31.2
callbacks/delete.go:47
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 -
gorm.io/gorm @v1.31.2
generics.go:783
in loop -
top callers
The modules that reach for it
The modules that call DB.Session most in this snapshot.
- gorm.io/gorm4434%
- gorm.io/gen2217%
- github.com/Tencent/WeKnora2116%
- github.com/gogs/gogs75%
- github.com/NoFxAiOS/nofx65%
siblings
More from gorm.io/gorm
The other most-called members in this package. See all →