From 168223f104872556bee0d2b98c36011415970f0b Mon Sep 17 00:00:00 2001 From: --get-all <271emtiaj@gmail.com> Date: Fri, 24 May 2024 19:50:14 +0600 Subject: [PATCH] added comment --- src/vocabulary/repositories/DefinitionRepository.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vocabulary/repositories/DefinitionRepository.ts b/src/vocabulary/repositories/DefinitionRepository.ts index 2772c76..c5ff4da 100644 --- a/src/vocabulary/repositories/DefinitionRepository.ts +++ b/src/vocabulary/repositories/DefinitionRepository.ts @@ -32,6 +32,7 @@ export default class DefinitionRepository extends Repository { cohortId: string, excludedDefinitionIds: string[], ): Promise { + // table sampling works before applying the filtering return this.query( ` select "Definition".id as "definitionId", "Definition".meaning, "Vocabulary".word