@newbility/database
Advanced tools
@@ -19,3 +19,6 @@ import { IAsyncDisposable, ILogger } from '@newbility/core'; | ||
| [key: string]: any; | ||
| }): Promise<ExecuteResult<TResult>>; | ||
| }): Promise<{ | ||
| totalCount: number; | ||
| data: TResult[]; | ||
| }>; | ||
| /** | ||
@@ -39,3 +42,6 @@ * 查询第一个 | ||
| [key: string]: any; | ||
| }): Promise<ExecuteResult<TResult>>; | ||
| }): Promise<{ | ||
| totalCount: number; | ||
| data: TResult[]; | ||
| }>; | ||
| abstract QueryOneAsync<TResult = any>(sql: string, ...args: any[]): Promise<TResult | undefined>; | ||
@@ -42,0 +48,0 @@ abstract DisposeAsync(): Promise<void>; |
+2
-2
| { | ||
| "name": "@newbility/database", | ||
| "version": "0.2.19", | ||
| "version": "0.2.20", | ||
| "main": "build/index.js", | ||
@@ -19,3 +19,3 @@ "author": "jameshu", | ||
| "dependencies": { | ||
| "@newbility/core": "^0.2.19" | ||
| "@newbility/core": "^0.2.20" | ||
| }, | ||
@@ -22,0 +22,0 @@ "devDependencies": { |
23013
0.36%351
1.74%Updated