(self, compiler, connection, **extra_context)
| 230 | window_compatible = False |
| 231 | |
| 232 | def as_sql(self, compiler, connection, **extra_context): |
| 233 | if not connection.features.supports_any_value: |
| 234 | raise NotSupportedError( |
| 235 | "ANY_VALUE is not supported on this database backend." |
| 236 | ) |
| 237 | return super().as_sql(compiler, connection, **extra_context) |
| 238 | |
| 239 | |
| 240 | class Avg(FixDurationInputMixin, NumericOutputFieldMixin, Aggregate): |