Skip to content

Conversation

@mandarini
Copy link
Contributor

Description

Adds first-class support for missing PostgREST operators in postgrest-js:

  • isDistinct() - IS DISTINCT FROM operator (treats NULL as a comparable value)
  • regexMatch() - PostgreSQL ~ regex pattern matching (case-sensitive)
  • regexIMatch() - PostgreSQL ~* regex pattern matching (case-insensitive)

Previously these operators were only accessible via the .filter() escape hatch.

@mandarini mandarini requested review from a team as code owners November 19, 2025 15:06
@github-actions github-actions bot added the postgrest-js Related to the postgrest-js library. label Nov 19, 2025
@mandarini mandarini self-assigned this Nov 19, 2025
@coveralls
Copy link

coveralls commented Nov 19, 2025

Coverage Status

coverage: 95.367% (+14.2%) from 81.17%
when pulling aff5a5c on feat/add-postgrest-operators
into 5383755 on master.

@mandarini mandarini merged commit da38938 into master Nov 19, 2025
25 checks passed
@mandarini mandarini deleted the feat/add-postgrest-operators branch November 19, 2025 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

postgrest-js Related to the postgrest-js library.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants