MCPcopy Index your code
hub / github.com/coder/coder / Wrappers

Method Wrappers

coderd/database/db.go:38–38  ·  view source on GitHub ↗

Wrappers returns a list of wrappers that have been applied to the store. This is used to detect if the store has already wrapped, and avoid double-wrapping.

()

Source from the content-addressed store, hash-verified

36 // This is used to detect if the store has already wrapped, and avoid
37 // double-wrapping.
38 Wrappers() []string
39}
40
41// DBTX represents a database connection or transaction.

Callers 15

MockedDatabaseWithAuthzFunction · 0.65
NewDBMetricsFunction · 0.65
WrappersMethod · 0.65
NewQueryMetricsFunction · 0.65
WrappersMethod · 0.65
NewFunction · 0.65
WrappersMethod · 0.65
SetupSuiteMethod · 0.65
MockedMethod · 0.65
TestPingFunction · 0.65
TestInTXFunction · 0.65
TestNewFunction · 0.65

Implementers 6

sqlQueriercoderd/database/db.go
metricsStorecoderd/database/dbmetrics/dbmetrics.go
queryMetricsStorecoderd/database/dbmetrics/querymetrics
queriercoderd/database/dbauthz/dbauthz.go
MockStorecoderd/database/dbmock/dbmock.go
MockStoreMockRecordercoderd/database/dbmock/dbmock.go

Calls

no outgoing calls

Tested by 12

SetupSuiteMethod · 0.52
MockedMethod · 0.52
TestPingFunction · 0.52
TestInTXFunction · 0.52
TestNewFunction · 0.52
TestAISeatsHeartbeatFunction · 0.52