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

Method GetChatsByChatFileID

coderd/database/dbauthz/dbauthz.go:3279–3281  ·  view source on GitHub ↗
(ctx context.Context, fileID uuid.UUID)

Source from the content-addressed store, hash-verified

3277}
3278
3279func (q *querier) GetChatsByChatFileID(ctx context.Context, fileID uuid.UUID) ([]database.Chat, error) {
3280 return fetchWithPostFilter(q.auth, policy.ActionRead, q.db.GetChatsByChatFileID)(ctx, fileID)
3281}
3282
3283func (q *querier) GetChatsByWorkspaceIDs(ctx context.Context, ids []uuid.UUID) ([]database.Chat, error) {
3284 return fetchWithPostFilter(q.auth, policy.ActionRead, q.db.GetChatsByWorkspaceIDs)(ctx, ids)

Callers

nothing calls this directly

Calls 1

fetchWithPostFilterFunction · 0.85

Tested by

no test coverage detected