Skip to content

Commit

Permalink
fix readme table (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
tkanos committed Oct 17, 2018
1 parent b26b057 commit 11d0132
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,18 +92,18 @@ but in this case be careful, to don't use int (not supported), only floats.
This one was a simple decision Tree. You can build more complexe with more nodes, with others operators than only equal.

## Available Operators :
|operator|description|
|---|---|s
|eq (or ==)| equality (for string, bool, numbers, arrays) |
|ne (or !=)| not equal (for string, bool, numbers, arrays) |
|gt (or >)| gt (for string, numbers) |
|lt (or <)| lt (for string, numbers) |
|gte (or >=)| gte (for string, numbers) |
|lte (or <=)| lte (for string, numbers) |
|contains| does the string (defined on the value of the Tree) is contained on the json request |
|count| count (only for arrays) |
|regexp| do a regexp (only for string) |
|percent (or %) | do a random selection based on percentages |
| operator | description |
| -------------- | ----------------------------------------------------------------------------------- |
| eq (or ==) | equality (for string, bool, numbers, arrays) |
| ne (or !=) | not equal (for string, bool, numbers, arrays) |
| gt (or >) | gt (for string, numbers) |
| lt (or <) | lt (for string, numbers) |
| gte (or >=) | gte (for string, numbers) |
| lte (or <=) | lte (for string, numbers) |
| contains | does the string (defined on the value of the Tree) is contained on the json request |
| count | count (only for arrays) |
| regexp | do a regexp (only for string) |
| percent (or %) | do a random selection based on percentages |

You can also define your own operators

Expand Down

0 comments on commit 11d0132

Please sign in to comment.