From 0f1f6417681e6fded7b1bebce3ffcb6f330a1294 Mon Sep 17 00:00:00 2001 From: Sreeram Sreedhar Date: Wed, 4 Nov 2026 00:23:46 -0700 Subject: [PATCH] docs: eq and neq match list items; group values match list members Co-Authored-By: Claude Fable 5.1 --- apps/docs/concepts/filtering.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/docs/concepts/filtering.mdx b/apps/docs/concepts/filtering.mdx index 6beaa1aa..cbdf0383 100644 --- a/apps/docs/concepts/filtering.mdx +++ b/apps/docs/concepts/filtering.mdx @@ -136,6 +136,8 @@ filter: { field: "status", operator: "eq", value: "published" } String conditions accept an optional `caseSensitive` boolean. Numeric values are JSON numbers, not numeric strings. +On a list-valued field, `eq` and `neq` test whether any item equals the value, so `{ field: "tags", operator: "eq", value: "work" }` matches `tags: ["work", "q4"]`. `arrayContains` and `arrayNotContains` say the same thing explicitly. + ### Combining filters Nest `and` and `or` nodes for complex queries: