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

Method UpsertMCPServerUserToken

coderd/database/querier.go:1410–1410  ·  view source on GitHub ↗
(ctx context.Context, arg UpsertMCPServerUserTokenParams)

Source from the content-addressed store, hash-verified

1408 UpsertLastUpdateCheck(ctx context.Context, value string) error
1409 UpsertLogoURL(ctx context.Context, value string) error
1410 UpsertMCPServerUserToken(ctx context.Context, arg UpsertMCPServerUserTokenParams) (MCPServerUserToken, error)
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

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 4

TestChatsMethod · 0.52
TestMCPServerUserTokensFunction · 0.52