MCPcopy Create free account
hub / github.com/PatchMon/PatchMon / GetUserByDiscordID

Method GetUserByDiscordID

server-source-code/internal/db/querier.go:311–311  ·  view source on GitHub ↗
(ctx context.Context, discordID *string)

Source from the content-addressed store, hash-verified

309 GetUpdateTrends(ctx context.Context, timestamp pgtype.Timestamp) ([]GetUpdateTrendsRow, error)
310 GetUpdatesCountByPackageIDs(ctx context.Context, arg GetUpdatesCountByPackageIDsParams) ([]GetUpdatesCountByPackageIDsRow, error)
311 GetUserByDiscordID(ctx context.Context, discordID *string) (User, error)
312 GetUserByDiscordIDOrEmail(ctx context.Context, arg GetUserByDiscordIDOrEmailParams) (User, error)
313 GetUserByEmail(ctx context.Context, lower string) (User, error)
314 GetUserByID(ctx context.Context, id string) (User, error)

Callers 1

GetByDiscordIDMethod · 0.65

Implementers 1

Queriesserver-source-code/internal/db/db.go

Calls

no outgoing calls

Tested by

no test coverage detected