Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
yaacov committed Dec 4, 2018
1 parent 881d396 commit 02d938f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,13 @@ go get -v "github.com/yaacov/tsl/cmd/tsl_sqlite"

## Syntax examples

Images created using the `tsl_parser` CLI example and Graphviz's `dot` utility:
``` bash
./tsl_parser -i "name like '%joe%' and (city = 'paris' or city = 'milan')" -o dot > file.dot

dot file.dot -Tpng > image.png
```

#### Operator precedence
``` sql
name like '%joe%' and (city = 'paris' or city = 'milan')
Expand Down
Binary file modified img/example01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/example_b.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 02d938f

Please sign in to comment.