node-sql-stream
v1.0.1
Published
Stream sql data directly in shell.
Downloads
1
Readme
nsql
Stream data directly from sql instead of waiting for buffering.
All output is JSON formatted.
Stream data into sql table.
Input should be newline delimited JSON.
Installation
npm install -g node-sql-stream
# Client of choice (mysql, pg)
# pg-query-stream needed for pg
npm install -g [client]
Usage
nsql client://user:password@host:port/db 'select * from test;' > data
<data nsql client://user:password@host:port/db/table