(self, compiler, connection, **extra_context)
| 76 | super().__init__(*expressions) |
| 77 | |
| 78 | def as_sql(self, compiler, connection, **extra_context): |
| 79 | if not connection.features.has_json_object_function: |
| 80 | raise NotSupportedError( |
| 81 | "JSONObject() is not supported on this database backend." |
| 82 | ) |
| 83 | return super().as_sql(compiler, connection, **extra_context) |
| 84 | |
| 85 | def join(self, args): |
| 86 | pairs = zip(args[::2], args[1::2], strict=True) |
no test coverage detected