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

Method UpsertChatUsageLimitConfig

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

Source from the content-addressed store, hash-verified

1396 UpsertChatTemplateAllowlist(ctx context.Context, templateAllowlist string) error
1397 UpsertChatTitleGenerationModelOverride(ctx context.Context, value string) error
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

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