(self, compiler, connection, **extra_context)
| 10 | output_field = JSONField() |
| 11 | |
| 12 | def as_sql(self, compiler, connection, **extra_context): |
| 13 | if not connection.features.supports_json_field: |
| 14 | raise NotSupportedError( |
| 15 | "JSONFields are not supported on this database backend." |
| 16 | ) |
| 17 | return super().as_sql(compiler, connection, **extra_context) |
| 18 | |
| 19 | def as_native(self, compiler, connection, *, returning, **extra_context): |
| 20 | # PostgreSQL 16+ and Oracle remove SQL NULL values from the array by |
no test coverage detected