@dbnx/mysql
Advanced tools
Comparing version 1.0.13 to 1.0.14
{ | ||
"name": "@dbnx/mysql", | ||
"version": "1.0.13", | ||
"version": "1.0.14", | ||
"description": "A powerful and enhanced ORM library for MySQL, offering query execution, model creation, and full relational management.", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
@@ -167,3 +167,3 @@ import { Connection, Pool, ConnectionOptions, PoolOptions } from 'mysql2/promise'; | ||
public findAll(...args: any): DBnx | Promise<ResponseType>; | ||
public findAll<Tables extends string[]>(...args: any): DBnx | Promise<ResponseType>; | ||
@@ -186,3 +186,3 @@ /** | ||
public findOne(...args: any): DBnx | Promise<ResponseType>; | ||
public findOne<Tables extends string[]>(...args: any): DBnx | Promise<ResponseType>; | ||
@@ -204,3 +204,3 @@ /** | ||
): Promise<ResponseType>; | ||
public update(...args: any): DBnx | Promise<ResponseType>; | ||
public update<Tables extends string[]>(...args: any): DBnx | Promise<ResponseType>; | ||
@@ -207,0 +207,0 @@ |
@@ -56,4 +56,4 @@ import { DBnx } from "./handler"; | ||
*/ | ||
static findAll<tables extends string[]>( | ||
Config?: FindAllParamsType<tables> | ||
static findAll<Tables extends string[]>( | ||
Config?: FindAllParamsType<Tables> | ||
): Promise<ResponseType>; | ||
@@ -66,4 +66,4 @@ | ||
*/ | ||
static findOne<tables extends string[]>( | ||
Config?: FindOneParamsType<tables> | ||
static findOne<Tables extends string[]>( | ||
Config?: FindOneParamsType<Tables> | ||
): Promise<ResponseType>; | ||
@@ -76,4 +76,4 @@ | ||
*/ | ||
static update<tables extends string[]>( | ||
Props: UpdateParamsType<tables> | ||
static update<Tables extends string[]>( | ||
Props: UpdateParamsType<Tables> | ||
): Promise<ResponseType>; | ||
@@ -86,4 +86,4 @@ | ||
*/ | ||
static delete<tables extends string[]>( | ||
Props: DeleteParamsType<tables> | ||
static delete<Tables extends string[]>( | ||
Props: DeleteParamsType<Tables> | ||
): Promise<ResponseType>; | ||
@@ -90,0 +90,0 @@ |
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
76882