Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@sqb/connect

Package Overview
Dependencies
Maintainers
1
Versions
137
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sqb/connect - npm Package Compare versions

Comparing version 4.0.1-beta.39 to 4.0.1-beta.40

22

dist/orm/repository.class.d.ts

@@ -6,3 +6,3 @@ import { AsyncEventEmitter } from 'strict-typed-events';

import { QueryRequest, TransactionFunction } from '../client/types';
import { Maybe, InstanceValues, Type } from '../types';
import { Maybe, InstanceValues, Type, DeepPartial } from '../types';
import { FieldInfoMap } from '../client/FieldInfoMap';

@@ -77,13 +77,13 @@ export declare namespace Repository {

get type(): Type<T>;
create(values: InstanceValues<T>, options?: Repository.CreateOptions): Promise<T>;
create(values: InstanceValues<T>, options?: Repository.CreateOptions): Promise<DeepPartial<T>>;
createOnly(values: InstanceValues<T>, options?: Repository.CreateOptions): Promise<void>;
exists(keyValue: any, options?: Repository.ExistsOptions): Promise<boolean>;
count(options?: Repository.CountOptions): Promise<number>;
findAll(options?: Repository.FindAllOptions): Promise<T[]>;
findOne(options?: Repository.FindOneOptions): Promise<Maybe<T>>;
findAll(options?: Repository.FindAllOptions): Promise<DeepPartial<T>[]>;
findOne(options?: Repository.FindOneOptions): Promise<DeepPartial<T> | undefined>;
findByPk(keyValue: any, options?: Repository.GetOptions): Promise<Maybe<T>>;
destroy(keyValue: any, options?: Repository.DestroyOptions): Promise<boolean>;
destroyAll(options?: Repository.DestroyOptions): Promise<number>;
update(keyValue: any, values: InstanceValues<T>, options?: Repository.UpdateOptions): Promise<T | undefined>;
updateOnly(keyValue: any, values: InstanceValues<T>, options?: Repository.UpdateOptions): Promise<any>;
update(keyValue: any, values: InstanceValues<T>, options?: Repository.UpdateOptions): Promise<DeepPartial<T> | undefined>;
updateOnly(keyValue: any, values: InstanceValues<T>, options?: Repository.UpdateOptions): Promise<DeepPartial<T>>;
updateAll(values: InstanceValues<T>, options?: Repository.UpdateAllOptions): Promise<number>;

@@ -93,3 +93,3 @@ protected _execute(fn: TransactionFunction, opts?: Repository.CommandOptions): Promise<any>;

connection: SqbConnection;
}): Promise<T>;
}): Promise<DeepPartial<T>>;
protected _createOnly(values: InstanceValues<T>, options: Repository.CreateOptions & {

@@ -106,9 +106,9 @@ connection: SqbConnection;

connection: SqbConnection;
}): Promise<T[]>;
}): Promise<DeepPartial<T>[]>;
protected _findOne(options: Repository.FindOneOptions & {
connection: SqbConnection;
}): Promise<Maybe<T>>;
}): Promise<DeepPartial<T> | undefined>;
protected _findByPk(keyValue: any, options: Repository.GetOptions & {
connection: SqbConnection;
}): Promise<Maybe<T>>;
}): Promise<DeepPartial<T> | undefined>;
protected _destroy(keyValue: any, options: Repository.DestroyOptions & {

@@ -122,3 +122,3 @@ connection: SqbConnection;

connection: SqbConnection;
}): Promise<any>;
}): Promise<Record<string, any> | undefined>;
protected _updateAll(values: InstanceValues<T>, options: Repository.UpdateAllOptions & {

@@ -125,0 +125,0 @@ connection: SqbConnection;

{
"name": "@sqb/connect",
"description": "Multi-dialect database connection framework written with TypeScript",
"version": "4.0.1-beta.39",
"version": "4.0.1-beta.40",
"author": "Panates Ltd.",

@@ -6,0 +6,0 @@ "contributors": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc