Skip to content

Commit

Permalink
Merge pull request DefinitelyTyped#33156 from massimonewsuk/patch-1
Browse files Browse the repository at this point in the history
Sequelize - add some missing flags
  • Loading branch information
amcasey authored Feb 20, 2019
2 parents 889a0d0 + 261231b commit 255a622
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions types/sequelize/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/**
Expand Down Expand Up @@ -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];

}

//
Expand Down

0 comments on commit 255a622

Please sign in to comment.