diff options
| author | Clifford Gama <cliffygamy@gmail.com> | 2025-08-07 17:26:15 +0200 |
|---|---|---|
| committer | Jacob Walls <jacobtylerwalls@gmail.com> | 2025-10-29 15:00:52 -0400 |
| commit | adc25a9a6696f7e2ab6181aabce3a23e027d6703 (patch) | |
| tree | 56e3950209471cbf4b16633897ba98f4ebd552e3 /docs/ref/models | |
| parent | ab108bf94dfc06c311d7dc81866b848fe5b5ee6c (diff) | |
Fixed #35381 -- Added JSONNull() expression.
Thanks Jacob Walls for the review.
Diffstat (limited to 'docs/ref/models')
| -rw-r--r-- | docs/ref/models/expressions.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/ref/models/expressions.txt b/docs/ref/models/expressions.txt index fa5b4b9540..037d7520a3 100644 --- a/docs/ref/models/expressions.txt +++ b/docs/ref/models/expressions.txt @@ -575,6 +575,18 @@ available on other expressions. ``ExpressionWrapper`` is necessary when using arithmetic on ``F()`` expressions with different types as described in :ref:`using-f-with-annotations`. +``JSONNull()`` expression +------------------------- + +.. versionadded:: 6.1 + +.. class:: JSONNull() + +Specialized expression to represent JSON scalar ``null`` on a +:class:`~django.db.models.JSONField`. + +See :ref:`storing-and-querying-for-none` for usage examples. + Conditional expressions ----------------------- |
