Changes between Version 2 and Version 3 of Ticket #35381, comment 17


Ignore:
Timestamp:
Jul 18, 2025, 11:13:54 AM (2 months ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35381, comment 17

    v2 v3  
    1414}}}
    1515
    16 using `JSONNull()` would allows for JSON `null` to be used in both cases (querying and storing) but there are no ways to specify that SQL `NULL` must be used in both cases which is a supporting point for deprecating `filter(json_field=None)` meaning JSON `null`. Here is [https://dryorm.xterm.info/ticket-35381 an attempt] at getting it `IS NULL` to be used for comparison and persistence.
     16using `JSONNull()` (or it's closet equivalent today being `Value(None, JSONField())`) would allows for JSON `null` to be used in both cases (querying and storing) but there are no ways to specify that SQL `NULL` must be used in both cases which is a supporting point for deprecating `filter(json_field=None)` meaning JSON `null`. Here is [https://dryorm.xterm.info/ticket-35381 an attempt] at getting it `IS NULL` to be used for comparison and persistence.
Back to Top