Glossary app ORM queries¶
Glossary exercise lookup parameters¶
Glossary exercise lookup parameters to database query.
- class GlossaryLookupParams(lookup_conditions: dict)¶
Bases:
LookupParams
Glossary exercise lookup parameters to database query.
To get lookup parameters of class instance, use property
params
.The term lookup parameters to database query for glossary exercise. Filters the terms by user conditions to study terms.
- Parameters:
lookup_conditions (dict[str, str | int]) –
Lookup conditions of term query for Glossary exercise.
- Include fields:
'id'
intParameter
id
stored inglossary.models.GlossaryExerciseParams
'user'
: int'progres'
: str (db choice)'category'
: int'period_start_date'
: str (db choice)'period_end_date'
: str (db choice)
- property params: tuple[Q, ...]¶
Exercise lookup params (tuple[Q, …], read-only).