From 48a6cc8ee5435658a5fe13b99c6d8787018f7045 Mon Sep 17 00:00:00 2001 From: Martijn Date: Fri, 18 May 2018 14:48:47 +0800 Subject: [PATCH] Add useMaster to FindOptions --- types/sequelize/index.d.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/types/sequelize/index.d.ts b/types/sequelize/index.d.ts index cc4bef61ba..203e069b16 100644 --- a/types/sequelize/index.d.ts +++ b/types/sequelize/index.d.ts @@ -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;