Skip to content

Commit

Permalink
Merge pull request #8 from xbsoftware/upd-readme
Browse files Browse the repository at this point in the history
[fix] new json
  • Loading branch information
mkozhukh authored May 21, 2024
2 parents 0e0ee9b + ae5b38f commit ee7b2c2
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,11 @@ Converts JSON config to SQL Query
{
"glue": "and",
"rules": [{
"field":"age",
"condition":{
"type": "less",
"filter": 42
}
"field": "age",
"filter": "less",
"value": 42
},{
"field":"region",
"field": "region",
"includes": [1,2,6]
}]
}
Expand Down Expand Up @@ -63,10 +61,8 @@ For those operations, both start and end values can be provided
```json
{
"field":"age",
"condition":{
"type": "between",
"filter": { "start": 10, "end": 99 }
}
"filter": "between",
"value": { "start": 10, "end": 99 }
}
```

Expand Down

0 comments on commit ee7b2c2

Please sign in to comment.