Class FilteredRelation
Specify custom filtering in the ON clause of SQL joins.
Declaration
class FilteredRelation
source linkDocumentation
Methods
▷ def __init__(self, relation_name, *, condition=Q()) ▷ def as_sql(self, compiler, connection) ▷ def resolve_expression(self, *args, **kwargs) QuerySet.annotate() only accepts expression-like arguments (with a resolve_expression() method).
Reexports