Skip to main content
Filters are used anywhere you want ZangTable to select matching rows instead of working with every row in a table. The most common places are:
  • Listing records, for example “only active recipes” or “orders for customer 42”.
  • Bulk updating records, for example “archive every draft older than January 1”.
  • Bulk deleting records, for example “delete rows where deleted_at is already set”.
  • Creating exports that include only matching rows.

Shared validation

Simple filter object

Use this when every condition is an exact match.
Common usage:

Condition array

Use this when you need operators like greater-than, like, in, or null checks.
Supported operators: =, eq_ci, !=, >, >=, <, <=, like, in, is_null, not_null. Use eq_ci for exact text equality ignoring ASCII case, such as a handle lookup. It treats _ and % as ordinary characters, unlike like. SQLite’s NOCASE comparison is ASCII-oriented; normalize non-ASCII identifiers in your application if you need broader Unicode case folding.

Bulk update example

Use condition arrays for precise updates/deletes. Use the simple object format for everyday exact-match filtering.