sequelize
Advanced tools
Comparing version 6.18.0 to 6.19.0
{ | ||
"name": "sequelize", | ||
"description": "Sequelize is a promise-based Node.js ORM tool for Postgres, MySQL, MariaDB, SQLite, Microsoft SQL Server, Amazon Redshift and Snowflake’s Data Cloud. It features solid transaction support, relations, eager and lazy loading, read replication and more.", | ||
"version": "6.18.0", | ||
"version": "6.19.0", | ||
"funding": [ | ||
@@ -215,3 +215,3 @@ { | ||
"----------------------------------------- documentation -------------------------------------------": "", | ||
"docs": "rimraf esdoc && esdoc -c docs/esdoc-config.js && cp docs/favicon.ico esdoc/favicon.ico && cp docs/ROUTER.txt esdoc/ROUTER && node docs/run-docs-transforms.js && node docs/redirects/create-redirects.js && rimraf esdoc/file esdoc/source.html", | ||
"docs": "sh docs.sh", | ||
"----------------------------------------- tests ---------------------------------------------------": "", | ||
@@ -218,0 +218,0 @@ "mocha": "mocha -r ./test/registerEsbuild", |
@@ -18,3 +18,2 @@ import { HookReturn, Hooks, SequelizeHooks } from './hooks'; | ||
UpdateOptions, | ||
WhereAttributeHash, | ||
WhereOperators, | ||
@@ -25,3 +24,4 @@ ModelCtor, | ||
CreationAttributes, | ||
Attributes | ||
Attributes, | ||
ColumnReference, WhereAttributeHashValue, | ||
} from './model'; | ||
@@ -1470,3 +1470,3 @@ import { ModelManager } from './model-manager'; | ||
*/ | ||
export function and(...args: (WhereOperators | WhereAttributeHash<any> | Where)[]): AndOperator<any>; | ||
export function and<T extends Array<any>>(...args: T): { [Op.and]: T }; | ||
@@ -1478,3 +1478,3 @@ /** | ||
*/ | ||
export function or(...args: (WhereOperators | WhereAttributeHash<any> | Where)[]): OrOperator<any>; | ||
export function or<T extends Array<any>>(...args: T): { [Op.or]: T }; | ||
@@ -1491,3 +1491,3 @@ /** | ||
export type WhereLeftOperand = Fn | Col | Literal | ModelAttributeColumnOptions; | ||
export type WhereLeftOperand = Fn | ColumnReference | Literal | Cast | ModelAttributeColumnOptions; | ||
@@ -1541,6 +1541,6 @@ // TODO [>6]: Remove | ||
*/ | ||
export function where<Op extends keyof WhereOperators>(leftOperand: WhereLeftOperand, operator: Op, rightOperand: WhereOperators[Op]): Where; | ||
export function where<Op extends keyof WhereOperators>(leftOperand: WhereLeftOperand, operator: string, rightOperand: any): Where; | ||
export function where(leftOperand: WhereLeftOperand, rightOperand: WhereOperators[typeof Op.eq]): Where; | ||
export function where<Op extends keyof WhereOperators>(leftOperand: WhereLeftOperand | Where, operator: Op, rightOperand: WhereOperators[Op]): Where; | ||
export function where<Op extends keyof WhereOperators>(leftOperand: any, operator: string, rightOperand: any): Where; | ||
export function where(leftOperand: WhereLeftOperand, rightOperand: WhereAttributeHashValue<any>): Where; | ||
export default Sequelize; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
2607835
30012
0
0
0
9