pg-query-stream
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -8,3 +8,3 @@ 'use strict' | ||
super(Object.assign({ objectMode: true }, options)) | ||
this.cursor = new Cursor(text, values) | ||
this.cursor = new Cursor(text, values, options) | ||
this._reading = false | ||
@@ -11,0 +11,0 @@ this._closed = false |
{ | ||
"name": "pg-query-stream", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Postgres query result returned as readable stream", | ||
@@ -33,4 +33,5 @@ "main": "index.js", | ||
"eslint-plugin-standard": "^3.0.1", | ||
"mocha": "^3.5.0", | ||
"mocha": "^6.2.2", | ||
"pg": "^7.5.0", | ||
"prettier": "^1.18.2", | ||
"stream-spec": "~0.3.5", | ||
@@ -40,5 +41,11 @@ "stream-tester": "0.0.5", | ||
}, | ||
"prettier": { | ||
"semi": false, | ||
"printWidth": 120, | ||
"trailingComma": "es5", | ||
"singleQuote": true | ||
}, | ||
"dependencies": { | ||
"pg-cursor": "2.0.0" | ||
"pg-cursor": "^2.0.1" | ||
} | ||
} |
@@ -38,3 +38,3 @@ # pg-query-stream | ||
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. | ||
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 cumbersome, and _way way way_ slower than using a cursor. | ||
@@ -41,0 +41,0 @@ _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_ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23
357
18589
14
+ Addedpg@8.13.1(transitive)
+ Addedpg-cloudflare@1.1.1(transitive)
+ Addedpg-connection-string@2.7.0(transitive)
+ Addedpg-cursor@2.12.1(transitive)
+ Addedpg-int8@1.0.1(transitive)
+ Addedpg-pool@3.7.0(transitive)
+ Addedpg-protocol@1.7.0(transitive)
+ Addedpg-types@2.2.0(transitive)
+ Addedpgpass@1.0.5(transitive)
+ Addedpostgres-array@2.0.0(transitive)
+ Addedpostgres-bytea@1.0.0(transitive)
+ Addedpostgres-date@1.0.7(transitive)
+ Addedpostgres-interval@1.2.0(transitive)
+ Addedsplit2@4.2.0(transitive)
+ Addedxtend@4.0.2(transitive)
- Removedpg-cursor@2.0.0(transitive)
Updatedpg-cursor@^2.0.1