Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pg-query-stream

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pg-query-stream - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

test/async-iterator.es6

2

index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc