Expressions are used to filter the table. You can use the following syntax:
- Numbers:
42
, 3.14
- Comparisons:
>10
, >=20
, <30
, <=40
- Ranges:
10..20
(inclusive range) - Logical operators:
&&
(AND), ||
(OR), !
(NOT) - Grouping:
(expression)
- String methods:
starts_with("text")
- Checks if value starts with textends_with("text")
- Checks if value ends with texthas("text")
- Checks if value contains text
- Storage type methods:
ebs
- Matches EBS storagenvme
- Matches NVMe storagessd
- Matches SSD storagehdd
- Matches HDD storage
- Ternary operator:
condition ? trueValue : falseValue
Examples:
>=4 && <=8
- Values between 4 and 8 (inclusive)2..4 || >=10
- Values from 2 to 4, or greater than or equal to 10!(2..4)
- Values not between 2 and 4<100 ? ssd : hdd
- Match SSD if storage < 100, otherwise match HDDnvme
- Match NVMe storage