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

Method UpsertChatUsageLimitUserOverride

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

Source from the content-addressed store, hash-verified

1398 UpsertChatUsageLimitConfig(ctx context.Context, arg UpsertChatUsageLimitConfigParams) (ChatUsageLimitConfig, error)
1399 UpsertChatUsageLimitGroupOverride(ctx context.Context, arg UpsertChatUsageLimitGroupOverrideParams) (UpsertChatUsageLimitGroupOverrideRow, error)
1400 UpsertChatUsageLimitUserOverride(ctx context.Context, arg UpsertChatUsageLimitUserOverrideParams) (UpsertChatUsageLimitUserOverrideRow, error)
1401 UpsertChatWorkspaceTTL(ctx context.Context, workspaceTtl string) error
1402 // The default proxy is implied and not actually stored in the database.
1403 // So we need to store it's configuration here for display purposes.

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

TestChatsMethod · 0.52