MCPcopy
hub / github.com/PatchMon/PatchMon / DB

Method DB

server-source-code/internal/database/db.go:19–19  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

17// DBProvider resolves the database for a request. Used by stores in multi-host mode.
18type DBProvider interface {
19 DB(ctx context.Context) *DB
20}
21
22// DB provides database access via pgxpool and sqlc-generated queries.

Callers 15

ListMethod · 0.65
GetByHostMethod · 0.65
GetByIDMethod · 0.65
UpdateMethod · 0.65
ToggleHostRepositoryMethod · 0.65
GetStatsMethod · 0.65
DeleteMethod · 0.65
CleanupOrphanedMethod · 0.65
GetAllMethod · 0.65
GetByTypeMethod · 0.65
UpsertMethod · 0.65

Implementers 2

DBserver-source-code/internal/database/d
DBResolverserver-source-code/internal/context/co

Calls

no outgoing calls

Tested by

no test coverage detected