Skip to content

br0r/node-sql-stream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Node package for streaming sql data out in shell

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published