@newbility/postgres
Advanced tools
@@ -15,3 +15,6 @@ import { DatabaseProvider, ExecuteResult, IDatabaseClient } from '@newbility/database'; | ||
| [key: string]: any; | ||
| }): Promise<ExecuteResult<TResult>>; | ||
| }): Promise<{ | ||
| totalCount: number; | ||
| data: TResult[]; | ||
| }>; | ||
| QueryOneAsync<TResult = any>(sql: string, ...args: any[]): Promise<TResult | undefined>; | ||
@@ -18,0 +21,0 @@ protected GetConnPool(options: PostgresOptions): Pool; |
+2
-2
| { | ||
| "name": "@newbility/postgres", | ||
| "version": "0.2.18", | ||
| "version": "0.2.20", | ||
| "main": "build/index.js", | ||
@@ -19,3 +19,3 @@ "author": "jameshu", | ||
| "dependencies": { | ||
| "@newbility/database": "^0.2.18", | ||
| "@newbility/database": "^0.2.20", | ||
| "pg": "^8.10.0" | ||
@@ -22,0 +22,0 @@ }, |
14132
0.29%215
1.42%Updated