Skip to content

Commit

Permalink
v0.202106.3
Browse files Browse the repository at this point in the history
  • Loading branch information
fuyutarow committed Jun 8, 2021
1 parent 7e6679b commit 389f88d
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "partiql-rs"
version = "0.202106.2"
version = "0.202106.3"
edition = "2018"
description = "A implementation of PartiQL"
homepage = "https://github.com/fuyutarow/partiql-rs"
Expand Down
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,18 @@ What's [PartiQL](https://partiql.org/)?


# `pq` command
```
pq samples/pokemon.json -q "$(cat<<EOF
SELECT
no AS id,
name,
weight/height/height AS bmi
ORDER BY bmi DESC
LIMIT 10
EOF
)" -t csv
```

```
curl -s https://api.github.com/users/fuyutarow/repos | pq -q "$(cat<<EOS
SELECT
Expand Down Expand Up @@ -66,6 +78,16 @@ EOS
)"
```

- [x] SELECT
- [x] FROM
- [x] LEFT JOIN
- [x] WHERE
- [x] LIKE
- [x] ORDER BY
- [x] LIMIT

[more examples](https://github.com/fuyutarow/partiql-rs/tree/alpha/tests-make)


## For Development
Requirements
Expand Down

0 comments on commit 389f88d

Please sign in to comment.