Merge pull request #33156 from massimonewsuk/patch-1

Sequelize - add some missing flags
This commit is contained in:
Andrew Casey
2019-02-19 17:57:47 -08:00
committed by GitHub
+15
View File
@@ -3286,6 +3286,11 @@ declare namespace sequelize {
* if true, it will also eager load the relations of the child models, recursively.
*/
nested?: boolean;
/**
* If true, runs a separate query to fetch the associated instances, only supported for hasMany associations
*/
separate?: boolean;
}
/**
@@ -6510,6 +6515,16 @@ declare namespace sequelize {
*/
logging?: Function;
/**
* Specify the parent transaction so that this transaction is nested or a save point within the parent
*/
transaction?: Transaction;
/**
* Sets the constraints to be deferred or immediately checked.
*/
deferrable?: Deferrable[keyof Deferrable];
}
//