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

Method GetUserByEmailOrUsername

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

Source from the content-addressed store, hash-verified

769 GetUserAgentChatSendShortcut(ctx context.Context, userID uuid.UUID) (string, error)
770 GetUserAppearanceSettings(ctx context.Context, userID uuid.UUID) (GetUserAppearanceSettingsRow, error)
771 GetUserByEmailOrUsername(ctx context.Context, arg GetUserByEmailOrUsernameParams) (User, error)
772 GetUserByID(ctx context.Context, id uuid.UUID) (User, error)
773 GetUserChatCompactionThreshold(ctx context.Context, arg GetUserChatCompactionThresholdParams) (string, error)
774 GetUserChatCustomPrompt(ctx context.Context, userID uuid.UUID) (string, error)

Callers 15

postUserMethod · 0.65
putUserProfileMethod · 0.65
loginRequestMethod · 0.65
oauthLoginMethod · 0.65
findLinkedUserFunction · 0.65
ExtractUserContextFunction · 0.65
TestUserMethod · 0.65
getDatabaseMethod · 0.65
parseUserFunction · 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

TestUserMethod · 0.52
sendInboxNotificationFunction · 0.52