Skip to content

v1.2: Add new IS NULL and IS EMPTY filter operators #2415

@guimachiavelli

Description

@guimachiavelli

v1.2 introduces two new filter operators, IS NULL and IS EMPTY.

IS NULL matches fields that exist but have an explicit null value:

{
  "name": null
}

IS EMPTY matches fields that exist but have an empty value, including strings, objects, and arrays:

{
  "name": "",
  "reviews": [],
  "locations": {}
}

Both operators can be used together with NOT: IS NOT EMPTY, NOT [attribute] IS EMPTY, IS NOT NULL, NOT [attribute] IS NULL.

Tasks

  • Update /learn/advanced/filtering.mdx

References

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions