Skip to content

Document _ieq, _nieq and _nicontains filter operators - #844

Draft
Nitwel wants to merge 3 commits into
mainfrom
docs/843-case-insensitive-filters
Draft

Nitwel wants to merge 3 commits into
mainfrom
docs/843-case-insensitive-filters

Conversation

@Nitwel

@Nitwel Nitwel commented Oct 8, 2026

Copy link
Copy Markdown
Member

Summary

Documents the case-insensitive equality operators added in directus/directus#28350, and marks _nicontains as requiring the same release.

  • Added _ieq (Equals, case-insensitive) and _nieq (Doesn't equal, case-insensitive) to the operator table on the Filter Rules page.
  • Added a footnote to _ieq, _nieq and _nicontains: only available on string fields, requires Directus 12.6.0 or later.

Why _nicontains gets the footnote

_nicontains has been in the docs since #156, but the API rejected it until now ("string" field type does not contain the "_nicontains" filter operator). The SQL existed, but the operator was missing from the allowlist. directus/directus#28350 makes all three operators work in REST, GraphQL, field validation and the app filter UI.

Notes for reviewers

Closes #843

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
docs Ready Ready Preview Oct 8, 2026 8:37pm UTC

Request Review

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The table has two ways of ordering the case-insensitive relative to its neighbors. Which makes more sense to use?

Case Insensitivity After Opposing Check

Operator Description
_eq Inclusive Check
_neq Exclusive Check
_ieq Case Insensitive Inclusive Check
_nieq Case Insensitive Exclusive Check

Case Insensitivity As Neighbor

Operator Description
_eq Inclusive Check
_ieq Case Insensitive Inclusive Check
_neq Exclusive Check
_nieq Case Insensitive Exclusive Check

This branch was successfully deployed

1 active deployment
Preview — b306686d Deployed Oct 8, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants