Changes between Version 1 and Version 2 of Ticket #23797, comment 10
- Timestamp:
- Jun 27, 2020, 5:27:41 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #23797, comment 10
v1 v2 1 Looks like there was consensus here around the proper query :2 `NOT ((length = width) AND (length IS N ULL) AND (width IS NULL))`1 Looks like there was consensus here around the proper query and as well as its location in `build_query`: 2 `NOT ((length = width) AND (length IS NOT NULL) AND (width IS NOT NULL))`, which is to say, either `length` or `width` being NULL should be sufficient to be returned by `exclude()` along with the cases where `length = width` fails. 3 3 4 as well as its location in `build_query`. 4 5 5 6 6 I submitted a patch that builds this query after checking if the comparison value is an instance of `Col`.