Skip to content

Commit

Permalink
feat: update docs to detail new operators
Browse files Browse the repository at this point in the history
  • Loading branch information
rapatao committed Jul 27, 2024
1 parent c4517c8 commit 8b55997
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
32 changes: 32 additions & 0 deletions JSON.md
Original file line number Diff line number Diff line change
Expand Up @@ -1827,6 +1827,22 @@ To see more details, check its source: [here](src/test/kotlin/com/rapatao/projec
}
```

```json
{
"left" : "item.name",
"operator" : "not_starts_with",
"right" : "\"product\""
}
```

```json
{
"left" : "item.name",
"operator" : "not_starts_with",
"right" : "\"name\""
}
```

```json
{
"left" : "item.name",
Expand All @@ -1843,6 +1859,22 @@ To see more details, check its source: [here](src/test/kotlin/com/rapatao/projec
}
```

```json
{
"left" : "item.name",
"operator" : "not_ends_with",
"right" : "\"name\""
}
```

```json
{
"left" : "item.name",
"operator" : "not_ends_with",
"right" : "\"product\""
}
```

```json
{
"left" : "item.name",
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,9 @@ The engine provides many built-in operators, but it also allows adding new ones
| less_than | Represents the less than operator (<), used to compare if one value is less than another. |
| less_or_equal_than | Represents the less than or equal to operator (<=), used to compare if one value is less than or equal to another. |
| starts_with | Represents the operation to check if a string starts with a specified sequence of characters. |
| not_starts_with | Represents the operation to check if a string not starts with a specified sequence of characters. |
| ends_with | Represents the operation to check if a string ends with a specified sequence of characters. |
| not_ends_with | Represents the operation to check if a string not ends with a specified sequence of characters. |
| contains | Represents the operation to check if a string contains a specified sequence of characters or if an array/list contains a particular element. |
| not_contains | Represents the operation to check if a string not contains a specified sequence of characters or if an array/list not contains a particular element. |

Expand Down

0 comments on commit 8b55997

Please sign in to comment.