pg-promise
Advanced tools
Comparing version 0.0.2 to 0.0.3
11
index.js
@@ -5,9 +5,2 @@ 'use strict'; | ||
/* | ||
var tx = new pgp.tx(); | ||
tx.exec(function(){ | ||
tx.one('select...'); | ||
}); | ||
*/ | ||
var queryResult = { | ||
@@ -21,2 +14,6 @@ one: 1, | ||
if(!pg || !config){ | ||
throw new Error("Invalid parameters passed: 'pg' and 'config' both must be set"); | ||
} | ||
// IMPORTANT: The caller must invoke done() when finished. | ||
@@ -23,0 +20,0 @@ this.connect = function () { |
{ | ||
"name": "pg-promise", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "PostgreSQL transaction using Promise", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
24491
0
284