@databases/pg
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -24,5 +24,5 @@ /// <reference types="node" /> | ||
}): Readable; | ||
task<T>(fn: (connection: Connection, options?: { | ||
task<T>(fn: (connection: Connection) => Promise<T>, options?: { | ||
tag?: string | number; | ||
}) => Promise<T>): Promise<T>; | ||
}): Promise<T>; | ||
tx<T>(fn: (connection: Connection) => Promise<T>, options?: TransactionOptions): Promise<T>; | ||
@@ -29,0 +29,0 @@ } |
{ | ||
"name": "@databases/pg", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "", | ||
@@ -27,3 +27,3 @@ "main": "./lib/index.js", | ||
"bugs": "https://github.com/ForbesLindesay/atdatabases/issues", | ||
"homepage": "https://www.atdatabases.com/docs/pg.html" | ||
"homepage": "https://www.atdatabases.com/docs/pg" | ||
} |
# @databases/pg | ||
For documentation, see https://www.atdatabases.com/docs/pg.html | ||
For documentation, see https://www.atdatabases.com/docs/pg |
@@ -34,6 +34,4 @@ import {isSQLError, SQLError, SQLErrorCode} from '@databases/pg-errors'; | ||
task<T>( | ||
fn: ( | ||
connection: Connection, | ||
options?: {tag?: string | number}, | ||
) => Promise<T>, | ||
fn: (connection: Connection) => Promise<T>, | ||
options?: {tag?: string | number}, | ||
): Promise<T>; | ||
@@ -40,0 +38,0 @@ tx<T>( |
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
No website
QualityPackage does not have a website.
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
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
72217
1615