Update README.md

Remove outdated information about pg.js
This commit is contained in:
Brian C 2015-11-13 10:53:02 -06:00
parent aa72d9b16a
commit 802616b028

View File

@ -4,7 +4,6 @@
Receive result rows from [pg](https://github.com/brianc/node-postgres) as a readable (object) stream.
This module __only works with the pure JavaScript client__.
## installation
@ -15,14 +14,6 @@ $ npm install pg-query-stream
_requires pg>=2.8.1_
##### - or -
```bash
$ npm install pg.js
$ npm install pg-query-stream
```
_requires pg.js>=2.8.1_
## use
@ -46,6 +37,8 @@ The stream uses a cursor on the server so it efficiently keeps only a low number
This is especially useful when doing [ETL](http://en.wikipedia.org/wiki/Extract,_transform,_load) on a huge table. Using manual `limit` and `offset` queries to fake out async itteration through your data is cumbersom, and _way way way_ slower than using a cursor.
_note: this module only works with the JavaScript client, and does not work with the native bindings. libpq doesn't expose the protocol at a level where a cursor can be manipulated directly_
## contribution
I'm very open to contribution! Open a pull request with your code or idea and we'll talk about it. If it's not way insane we'll merge it in too: isn't open source awesome?