sequelize
Advanced tools
Comparing version 6.34.0 to 6.35.0
@@ -24,2 +24,5 @@ "use strict"; | ||
} | ||
findModel(callback) { | ||
return this.models.find(callback); | ||
} | ||
get all() { | ||
@@ -26,0 +29,0 @@ return this.models; |
{ | ||
"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.34.0", | ||
"version": "6.35.0", | ||
"funding": [ | ||
@@ -6,0 +6,0 @@ { |
@@ -13,2 +13,3 @@ import { Model, ModelType } from './model'; | ||
public getModel(against: unknown, options?: { attribute?: string }): typeof Model; | ||
public findModel(callback: (model: typeof Model) => boolean): typeof Model | undefined | ||
@@ -15,0 +16,0 @@ /** |
Sorry, the diff of this file is not supported yet
2899238
32904