Changes between Version 1 and Version 2 of Ticket #23797, comment 10


Ignore:
Timestamp:
Jun 27, 2020, 5:27:41 PM (4 years ago)
Author:
Jacob Walls

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 NULL) AND (width IS NULL))`
     1Looks 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.
    33
    4 as well as its location in `build_query`.
     4
    55
    66I submitted a patch that builds this query after checking if the comparison value is an instance of `Col`.
Back to Top