(ctx context.Context, fileID uuid.UUID)
| 3277 | } |
| 3278 | |
| 3279 | func (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 | |
| 3283 | func (q *querier) GetChatsByWorkspaceIDs(ctx context.Context, ids []uuid.UUID) ([]database.Chat, error) { |
| 3284 | return fetchWithPostFilter(q.auth, policy.ActionRead, q.db.GetChatsByWorkspaceIDs)(ctx, ids) |
nothing calls this directly
no test coverage detected