diff --git a/.buildpath b/.buildpath index e97ddaf..c7f9553 100644 --- a/.buildpath +++ b/.buildpath @@ -6,11 +6,6 @@ - - - - - diff --git a/CHANGELOG.md b/CHANGELOG.md index 609e973..609f20e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,12 +5,15 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [1.1.2] - 2017-11-30 +* Minor fixes of README.md. + ## [1.1.1] - 2017-11-28 * Minor fixes for PHP 5.6. ## [1.1.0] - 2017-11-28 * Add support for expressions with simple logical operators and without parenthesis. The or operator is writen with `-`, - the and operator is written with `+` ; + the and operator is written with `+` ; * Update minor composer dependency versions. ## [1.0.0] - 2017-08-01 diff --git a/README.md b/README.md index 8b4e151..b335ff3 100644 --- a/README.md +++ b/README.md @@ -69,16 +69,16 @@ The expression language provides the following operators. | Operator | ASCII value | Name | Value type(s) | |----------|-------------|--------------------------|----------------------------------------| -| `=` | `%3D% | Equals | Integer, Float, String | +| `=` | `%3D` | Equals | Integer, Float, String | | `<` | `%3C` | Less than | Integer, Float | | `<=` | `%3C%3D` | Less than or equal to | Integer, Float | | `>` | `%3E` | Greater than | Integer, Float | | `>=` | `%3E%3D` | Greater than or equal to | Integer, Float | | `in` | | In | Integer list, Double list, String list | -| `~` | `%7E%` | Like | String | -| `!` | | Not | _see description above_ | -| `+` | | And | _see description above_ | -| `-` | | Or | _see description above_ | +| `~` | `%7E` | Like | String | +| `!` | `%21` | Not | _see description above_ | +| `+` | `%2B` | And | _see description above_ | +| `-` | `%2D` | Or | _see description above_ | ### Not operator @@ -95,7 +95,7 @@ The `+` and `-` operator allow to create AND and OR SQL requests. Here are sample expressions with logical operators. * `property=>5.4+<12` is translated to `property >= ? AND property < ?` with 2 parameters `[5.4,12]` ; -* `property=~'*ball*'-~'*tennis*'` is translated to `property like ? OR property like ?` with 2 parameters +* `property=~'*ball*'-~'*tennis*'` is translated to `property like ? OR property like ?` with 2 parameters `['%ball%','%tennis%']. ### Like operator