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

Method GetChatsByWorkspaceIDs

coderd/database/dbauthz/dbauthz.go:3283–3285  ·  view source on GitHub ↗
(ctx context.Context, ids []uuid.UUID)

Source from the content-addressed store, hash-verified

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)
3285}
3286
3287func (q *querier) GetChatsUpdatedAfter(ctx context.Context, updatedAfter time.Time) ([]database.GetChatsUpdatedAfterRow, error) {
3288 // Telemetry queries are called from system contexts only.

Callers

nothing calls this directly

Calls 1

fetchWithPostFilterFunction · 0.85

Tested by

no test coverage detected