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

Method UpsertNotificationsSettings

coderd/database/querier.go:1413–1413  ·  view source on GitHub ↗
(ctx context.Context, value string)

Source from the content-addressed store, hash-verified

1411 // Insert or update notification report generator logs with recent activity.
1412 UpsertNotificationReportGeneratorLog(ctx context.Context, arg UpsertNotificationReportGeneratorLogParams) error
1413 UpsertNotificationsSettings(ctx context.Context, value string) error
1414 UpsertOAuth2GithubDefaultEligible(ctx context.Context, eligible bool) error
1415 UpsertPrebuildsSettings(ctx context.Context, value string) error
1416 UpsertProvisionerDaemon(ctx context.Context, arg UpsertProvisionerDaemonParams) (ProvisionerDaemon, error)

Callers 5

TestNotifierPausedFunction · 0.65
TestSystemFunctionsMethod · 0.65

Implementers 5

sqlQueriercoderd/database/db.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 2

TestNotifierPausedFunction · 0.52
TestSystemFunctionsMethod · 0.52