(self, compiler, connection)
| 255 | lookup_name = "ne" |
| 256 | |
| 257 | def as_sql(self, compiler, connection): |
| 258 | lhs, lhs_params = self.process_lhs(compiler, connection) |
| 259 | rhs, rhs_params = self.process_rhs(compiler, connection) |
| 260 | # Although combining via (*lhs_params, *rhs_params) would be |
| 261 | # more resilient, the "simple" way works too. |
| 262 | params = lhs_params + rhs_params |
| 263 | return "%s <> %s" % (lhs, rhs), params |
| 264 | |
| 265 | author = Author.objects.create(name="Isabella") |
| 266 |
nothing calls this directly
no test coverage detected