Skip to content

Commit cfcab97

Browse files
authored
Clarify _eq and _neq are not strictly typed for numeric values (#263)
1 parent 2dfbc70 commit cfcab97

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

content/guides/04.connect/2.filter-rules.md

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ Filters are used in permissions, validations, and automations, as well as throug
99

1010
| Operator | Description |
1111
| ---------------------------------- | --------------------------------------- |
12-
| `_eq` | Equals |
13-
| `_neq` | Doesn't equal |
12+
| `_eq` <sup>[1]</sup> | Equals |
13+
| `_neq` <sup>[1]</sup> | Doesn't equal |
1414
| `_lt` | Less than |
1515
| `_lte` | Less than or equal to |
1616
| `_gt` | Greater than |
@@ -34,17 +34,18 @@ Filters are used in permissions, validations, and automations, as well as throug
3434
| `_nbetween` | Is not between two values (inclusive) |
3535
| `_empty` | Is empty (`null` or falsy) |
3636
| `_nempty` | Isn't empty (`null` or falsy) |
37-
| `_intersects` <sup>[1]</sup> | Intersects a point |
38-
| `_nintersects` <sup>[1]</sup> | Doesn't intersect a point |
39-
| `_intersects_bbox` <sup>[1]</sup> | Intersects a bounding box |
40-
| `_nintersects_bbox` <sup>[1]</sup> | Doesn't intersect a bounding box |
41-
| `_regex` <sup>[2]</sup> | Regular expression (escape backslashes) |
42-
| `_some` <sup>[3]</sup> | At least one related value is true |
43-
| `_none` <sup>[3]</sup> | No related values are true |
44-
45-
<sup>[1]</sup> Only available on geometry fields.<br>
46-
<sup>[2]</sup> Only available in validation permissions.<br>
47-
<sup>[3]</sup> Only available on One to Many relationship fields.
37+
| `_intersects` <sup>[2]</sup> | Intersects a point |
38+
| `_nintersects` <sup>[2]</sup> | Doesn't intersect a point |
39+
| `_intersects_bbox` <sup>[2]</sup> | Intersects a bounding box |
40+
| `_nintersects_bbox` <sup>[2]</sup> | Doesn't intersect a bounding box |
41+
| `_regex` <sup>[3]</sup> | Regular expression (escape backslashes) |
42+
| `_some` <sup>[4]</sup> | At least one related value is true |
43+
| `_none` <sup>[4]</sup> | No related values are true |
44+
45+
<sup>[1]</sup> Compared value is not strictly typed for numeric values, allowing comparisons between numbers and their string representations.<br>
46+
<sup>[2]</sup> Only available on geometry fields.<br>
47+
<sup>[3]</sup> Only available in validation permissions.<br>
48+
<sup>[4]</sup> Only available on One to Many relationship fields.
4849

4950
## Filter Syntax
5051

@@ -320,4 +321,4 @@ There exists both a `cities` and a `countries` collection. `cities` have an M2O
320321
}
321322
}
322323
```
323-
::
324+
::

0 commit comments

Comments
 (0)