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

Method DeleteChatDebugDataByChatID

coderd/database/querier.go:136–136  ·  view source on GitHub ↗

The started_before bound prevents retried cleanup from deleting runs created by a replacement turn that races ahead of the retry window (for example, after an unarchive races with a pending archive-cleanup retry).

(ctx context.Context, arg DeleteChatDebugDataByChatIDParams)

Source from the content-addressed store, hash-verified

134 // window (for example, after an unarchive races with a pending
135 // archive-cleanup retry).
136 DeleteChatDebugDataByChatID(ctx context.Context, arg DeleteChatDebugDataByChatIDParams) (int64, error)
137 DeleteChatModelConfigByID(ctx context.Context, id uuid.UUID) error
138 DeleteChatModelConfigsByAIProviderID(ctx context.Context, aiProviderID uuid.UUID) error
139 DeleteChatModelConfigsByProvider(ctx context.Context, provider 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