Skip to content

Commit

Permalink
added comment
Browse files Browse the repository at this point in the history
  • Loading branch information
emtiajium committed May 24, 2024
1 parent 67c0709 commit 168223f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/vocabulary/repositories/DefinitionRepository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export default class DefinitionRepository extends Repository<Definition> {
cohortId: string,
excludedDefinitionIds: string[],
): Promise<RandomlyChosenMeaningQueryResponse[]> {
// table sampling works before applying the filtering
return this.query(
`
select "Definition".id as "definitionId", "Definition".meaning, "Vocabulary".word
Expand Down

0 comments on commit 168223f

Please sign in to comment.