Skip to content

Commit ebe607e

Browse files
Update README.md
1 parent b60e374 commit ebe607e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ You can use tools like `jq` and `grep` to further process and filter the output.
5151
```bash
5252
pb query run "select * from backend" --from=1m --to=now | jq .
5353
pb query run "select host, id, method, status from backend where status = 500" --from=1m --to=now | jq . > 500.json
54-
pb query run "select host, id, method, status from backend where status = 500" | jq '. | select(.method == "PATCH")'
54+
pb query run "select host, id, method, status from backend where status = 500" | jq '. | map(select(.method == "PATCH"))'
5555
pb query run "select host, id, method, status from backend where status = 500" --from=1m --to=now | grep "POST" | jq . | less
5656
```
5757

0 commit comments

Comments
 (0)