1.0.1 • Published 6 years ago

node-sql-stream v1.0.1

Weekly downloads
2
License
ISC
Repository
-
Last release
6 years ago

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