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

Method GetChats

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

Source from the content-addressed store, hash-verified

438 // Returns "0s" (disabled) when no value has been configured.
439 GetChatWorkspaceTTL(ctx context.Context) (string, error)
440 GetChats(ctx context.Context, arg GetChatsParams) ([]GetChatsRow, error)
441 GetChatsByChatFileID(ctx context.Context, fileID uuid.UUID) ([]Chat, error)
442 GetChatsByWorkspaceIDs(ctx context.Context, ids []uuid.UUID) ([]Chat, error)
443 // Retrieves chats updated after the given timestamp for telemetry

Callers 10

listChatsMethod · 0.65
TestGetAuthorizedChatsFunction · 0.65
TestChatLabelsFunction · 0.65
TestGetChatsFilterFunction · 0.65
TestChatHasUnreadFunction · 0.65
GetChatsMethod · 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