Skip to content

Commit 1ca3c98

Browse files
committed
docs: add NULL filtering section for domain representations
Signed-off-by: Taimoor Zaeem <taimoorzaeem@gmail.com>
1 parent 2edc44c commit 1ca3c98

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

docs/references/api/domain_representations.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,13 @@ Note that on the database side we have our regular ``uuid`` format.
158158
159159
If there's no CAST from ``json`` to ``app_uuid`` defined, the request body will still work with the native uuid format (``cc7ec76c-5254-4dfc-bf19-9a70ba2ae9b9``).
160160
161+
Domain NULL filtering
162+
=====================
163+
164+
Domains inherit the base type's NULL semantics.
165+
166+
PostgREST does not support changing ``is.null`` operator semantics on domain types. It translates directly to SQL ``IS NULL`` at query level and so the meaning of NULL cannot be changed. For more details, see this `github issue <https://github.com/PostgREST/postgrest/issues/4612>`_.
167+
161168
Advantages over Views
162169
=====================
163170

0 commit comments

Comments
 (0)