🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@newbility/database

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@newbility/database - npm Package Compare versions

Comparing version
0.2.19
to
0.2.20
+8
-2
build/src/DatabaseProvider.d.ts

@@ -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": {