Open
Description
Description
Native Django aggregates support a filter
parameter that allow a subset of expressions to be returned. For example:
.annotate(count=Count("expr", filter=filter_expr))
which generates the following SQL:
COUNT(DISTINCT CASE WHEN <filter_expr> THEN <expr> ELSE NULL END) as count
However the filter
parameter is ignored today by GroupConcat and I'm not quite sure how to add it to the source code.
Metadata
Metadata
Assignees
Labels
No labels