Skip to content

docs: add NULL filtering section for domain representations#4662

Draft
taimoorzaeem wants to merge 1 commit intoPostgREST:mainfrom
taimoorzaeem:docs/remapping-null
Draft

docs: add NULL filtering section for domain representations#4662
taimoorzaeem wants to merge 1 commit intoPostgREST:mainfrom
taimoorzaeem:docs/remapping-null

Conversation

@taimoorzaeem
Copy link
Member

Closes #4612.

@taimoorzaeem taimoorzaeem added the docs Only related to documentation label Feb 19, 2026
@taimoorzaeem taimoorzaeem force-pushed the docs/remapping-null branch 3 times, most recently from fc31e04 to b767204 Compare February 21, 2026 00:53
Signed-off-by: Taimoor Zaeem <taimoorzaeem@gmail.com>
Comment on lines +161 to +167
Domain NULL filtering
=====================

Domains inherit the base type's NULL semantics.

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>`_.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not agreeing for now, the limitation looks bad. Perhaps there's a solution, see #4612 (comment).

@taimoorzaeem taimoorzaeem marked this pull request as draft February 26, 2026 01:54
@taimoorzaeem taimoorzaeem removed the docs Only related to documentation label Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Document that remapping NULL/null is not supported with domain representations

3 participants