Skip to content

Commit

Permalink
postgres++
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Murphy-Skvorzov committed Nov 26, 2015
1 parent 3b08de5 commit 09ad7b8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion bin/mysql2jl.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@ EXPERIMENTAL:

Converts MySQL output into JSON dictionaries, using the first line as the header

##Usage:
## Usage:

echo "SELECT 1,2,3;" | mysql | jline-mysql2jla

## Postgres:

For postgres you probably don't need this as you can export JSON lines directly:

echo 'SELECT row_to_json(article) FROM article;' | psql --tuples-only

0 comments on commit 09ad7b8

Please sign in to comment.