mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-02 06:29:40 +08:00
Add useMaster to FindOptions<T>
This commit is contained in:
7
types/sequelize/index.d.ts
vendored
7
types/sequelize/index.d.ts
vendored
@@ -3366,6 +3366,13 @@ declare namespace sequelize {
|
||||
* Throw EmptyResultError if a record is not found
|
||||
*/
|
||||
rejectOnEmpty?: boolean;
|
||||
|
||||
/**
|
||||
* Force the query to use the write pool
|
||||
*
|
||||
* Defaults to false
|
||||
*/
|
||||
useMaster?: boolean;
|
||||
}
|
||||
|
||||
type AnyFindOptions = FindOptions<any>;
|
||||
|
||||
Reference in New Issue
Block a user