Skip to content

Commit 6fbb0d5

Browse files
authored
Add overlaps and doesnt_overlap to conditions page (#1765)
1 parent 4936451 commit 6fbb0d5

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

content/collections/docs/conditions.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ The following conditions apply to fields with data stored as strings.
211211
| `contains` | Include if field **contains** value. |
212212
| `doesnt_contain` | Include if field **doesn't contain** value. |
213213
| `in` | Include if field value is **in** the provided array. |
214-
| `not_in` | Include if field value is **not_in** the provided array. |
214+
| `not_in` | Include if field value is **not in** the provided array. |
215215
| `starts_with` | Include if field **starts with** value. |
216216
| `doesnt_start_with` | Include if field **doesn't start** with value. |
217217
| `ends_with` | Include if field **ends with** value. |
@@ -232,6 +232,15 @@ The following conditions apply to fields with data stored as strings.
232232
| `is_before` | Include if field **is before** date. |
233233
| `is_numberwang` | Include if field **is numberwang**. |
234234

235+
## Array conditions
236+
237+
The following conditions apply to fields with data stored as an array.
238+
239+
| Condition | Description |
240+
| :--- | :--- |
241+
| `overlaps` | Include if any field value **matches** the provided array (has). |
242+
| `doesnt_overlap` | Include if **no** value **matches** the provided array (has not). |
243+
235244
## Taxonomy conditions
236245

237246
[Taxonomy](/taxonomies) conditions are a little bit different. They start with `taxonomy:`, followed by the taxonomy name, an optional modifier argument, and finally the term you're seeking.

0 commit comments

Comments
 (0)