mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
* Add missing filter operators for case sensitivity Co-authored-by: RubensRafael <rubensrafael2@live.com> * Add contributors Co-authored-by: v1b3m <vibenjamin6@gmail.com> Co-authored-by: RubensRafael <rubensrafael2@live.com> --------- Co-authored-by: RubensRafael <rubensrafael2@live.com> Co-authored-by: v1b3m <vibenjamin6@gmail.com>
This commit is contained in:
@@ -44,3 +44,5 @@
|
||||
- ched-dev
|
||||
- anantakrishna
|
||||
- Philippe-cheype
|
||||
- gitstart
|
||||
- RubensRafael
|
||||
|
||||
@@ -50,32 +50,33 @@ readTime: 5 min read
|
||||
|
||||
## Filter Operators
|
||||
|
||||
| Operator Title _(in app)_ | Operator | Description |
|
||||
| ------------------------------ | ---------------------------------- | -------------------------------------- |
|
||||
| Equals | `_eq` | Equal to |
|
||||
| Doesn't equal | `_neq` | Not equal to |
|
||||
| Less than | `_lt` | Less than |
|
||||
| Less than or equal to | `_lte` | Less than or equal to |
|
||||
| Greater than | `_gt` | Greater than |
|
||||
| Greater than or equal to | `_gte` | Greater than or equal to |
|
||||
| Is one of | `_in` | Matches any of the values |
|
||||
| Is not one of | `_nin` | Doesn't match any of the values |
|
||||
| Is null | `_null` | Is `null` |
|
||||
| Isn't null | `_nnull` | Is not `null` |
|
||||
| Contains | `_contains` | Contains the substring |
|
||||
| Doesn't contain | `_ncontains` | Doesn't contain the substring |
|
||||
| Starts with | `_starts_with` | Starts with |
|
||||
| Doesn't start with | `_nstarts_with` | Doesn't start with |
|
||||
| Ends with | `_ends_with` | Ends with |
|
||||
| Doesn't end with | `_nends_with` | Doesn't end with |
|
||||
| Is between | `_between` | Is between two values (inclusive) |
|
||||
| Isn't between | `_nbetween` | Is not between two values (inclusive) |
|
||||
| Is empty | `_empty` | Is empty (`null` or falsy) |
|
||||
| Isn't empty | `_nempty` | Is not empty (`null` or falsy) |
|
||||
| Intersects | `_intersects` <sup>[1]</sup> | Value intersects a given point |
|
||||
| Doesn't intersect | `_nintersects` <sup>[1]</sup> | Value does not intersect a given point |
|
||||
| Intersects Bounding box | `_intersects_bbox` <sup>[1]</sup> | Value is in a bounding box |
|
||||
| Doesn't intersect bounding box | `_nintersects_bbox` <sup>[1]</sup> | Value is not in a bounding box |
|
||||
| Operator Title _(in app)_ | Operator | Description |
|
||||
| ------------------------------ | ---------------------------------- | --------------------------------------- |
|
||||
| Equals | `_eq` | Equal to |
|
||||
| Doesn't equal | `_neq` | Not equal to |
|
||||
| Less than | `_lt` | Less than |
|
||||
| Less than or equal to | `_lte` | Less than or equal to |
|
||||
| Greater than | `_gt` | Greater than |
|
||||
| Greater than or equal to | `_gte` | Greater than or equal to |
|
||||
| Is one of | `_in` | Matches any of the values |
|
||||
| Is not one of | `_nin` | Doesn't match any of the values |
|
||||
| Is null | `_null` | Is `null` |
|
||||
| Isn't null | `_nnull` | Is not `null` |
|
||||
| Contains | `_contains` | Contains the substring |
|
||||
| Contains (case-insensitive) | `_icontains` | Contains the case-insensitive substring |
|
||||
| Doesn't contain | `_ncontains` | Doesn't contain the substring |
|
||||
| Starts with | `_starts_with` | Starts with |
|
||||
| Doesn't start with | `_nstarts_with` | Doesn't start with |
|
||||
| Ends with | `_ends_with` | Ends with |
|
||||
| Doesn't end with | `_nends_with` | Doesn't end with |
|
||||
| Is between | `_between` | Is between two values (inclusive) |
|
||||
| Isn't between | `_nbetween` | Is not between two values (inclusive) |
|
||||
| Is empty | `_empty` | Is empty (`null` or falsy) |
|
||||
| Isn't empty | `_nempty` | Is not empty (`null` or falsy) |
|
||||
| Intersects | `_intersects` <sup>[1]</sup> | Value intersects a given point |
|
||||
| Doesn't intersect | `_nintersects` <sup>[1]</sup> | Value does not intersect a given point |
|
||||
| Intersects Bounding box | `_intersects_bbox` <sup>[1]</sup> | Value is in a bounding box |
|
||||
| Doesn't intersect bounding box | `_nintersects_bbox` <sup>[1]</sup> | Value is not in a bounding box |
|
||||
|
||||
The following operator has no Title on the Filter Interface as it is **only available in validation permissions**:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user