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

Method GetChildChatsByParentIDs

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

Fetches child chats of the given parents, optionally filtered by archive state (NULL = all, true/false = match). The archive invariant (parent archived implies child archived) is enforced at write time, not here.

(ctx context.Context, arg GetChildChatsByParentIDsParams)

Source from the content-addressed store, hash-verified

449 // invariant (parent archived implies child archived) is enforced
450 // at write time, not here.
451 GetChildChatsByParentIDs(ctx context.Context, arg GetChildChatsByParentIDsParams) ([]GetChildChatsByParentIDsRow, error)
452 GetConnectionLogsOffset(ctx context.Context, arg GetConnectionLogsOffsetParams) ([]GetConnectionLogsOffsetRow, error)
453 GetCryptoKeyByFeatureAndSequence(ctx context.Context, arg GetCryptoKeyByFeatureAndSequenceParams) (CryptoKey, error)
454 GetCryptoKeys(ctx context.Context) ([]CryptoKey, error)

Callers 8

listChatsMethod · 0.65
getChatMethod · 0.65
TestChatLabelsFunction · 0.65
TestChatsMethod · 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