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

Method InsertUserLink

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

Source from the content-addressed store, hash-verified

1003 // If there is a conflict, the user is already a member
1004 InsertUserGroupsByID(ctx context.Context, arg InsertUserGroupsByIDParams) ([]uuid.UUID, error)
1005 InsertUserLink(ctx context.Context, arg InsertUserLinkParams) (UserLink, error)
1006 InsertUserSkill(ctx context.Context, arg InsertUserSkillParams) (UserSkill, error)
1007 InsertVolumeResourceMonitor(ctx context.Context, arg InsertVolumeResourceMonitorParams) (WorkspaceAgentVolumeResourceMonitor, error)
1008 // Inserts or updates a webpush subscription. The (user_id, endpoint) pair

Callers 8

TestUserOAuth2GithubFunction · 0.65
TestOIDCRemovedFunction · 0.65
oauthLoginMethod · 0.65
InsertUserLinkMethod · 0.65
InsertUserLinkMethod · 0.65
TestUserMethod · 0.65
UserLinkFunction · 0.65
InsertUserLinkMethod · 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 3

TestUserOAuth2GithubFunction · 0.52
TestOIDCRemovedFunction · 0.52
TestUserMethod · 0.52