(ctx context.Context, chatID uuid.UUID)
| 3020 | } |
| 3021 | |
| 3022 | func (q *querier) GetChatFileMetadataByChatID(ctx context.Context, chatID uuid.UUID) ([]database.GetChatFileMetadataByChatIDRow, error) { |
| 3023 | if _, err := q.GetChatByID(ctx, chatID); err != nil { |
| 3024 | return nil, err |
| 3025 | } |
| 3026 | return q.db.GetChatFileMetadataByChatID(ctx, chatID) |
| 3027 | } |
| 3028 | |
| 3029 | func (q *querier) GetChatFilesByIDs(ctx context.Context, ids []uuid.UUID) ([]database.ChatFile, error) { |
| 3030 | files, err := q.db.GetChatFilesByIDs(ctx, ids) |
nothing calls this directly
no test coverage detected