0.2.1 • Published 10 years ago

pg-readable v0.2.1

Weekly downloads
1
License
MIT
Repository
github
Last release
10 years ago

node-pg-readable

Quick helper for streaming query results from postgres. It will connect to postgres using node-postgres and environment variables After connecting, it will execute a streaming query, return the stream, and automatically close the connection to the server when the stream ends.

install

$ npm install pg-readable

use

var readable = require('pg-readable')
var stream = readable('SELECT * FROM my_big_table')
stream.pipe(/* bla bla bla */)

license

MIT

0.2.1

10 years ago

0.2.0

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago

0.0.0

10 years ago