diff --git a/types/sequelize/index.d.ts b/types/sequelize/index.d.ts index 2642535740..eefdfa9c13 100644 --- a/types/sequelize/index.d.ts +++ b/types/sequelize/index.d.ts @@ -3247,6 +3247,12 @@ declare namespace sequelize { * https://github.com/sequelize/sequelize/blob/master/docs/docs/models-usage.md#user-content-manipulating-the-dataset-with-limit-offset-order-and-group */ group?: string | string[] | Object; + + + /** + * Apply DISTINCT(col) for FindAndCount(all) + */ + distinct?: boolean; } /** diff --git a/types/sequelize/v3/index.d.ts b/types/sequelize/v3/index.d.ts index 3f8fd0e1a4..e823a926e2 100644 --- a/types/sequelize/v3/index.d.ts +++ b/types/sequelize/v3/index.d.ts @@ -3211,6 +3211,11 @@ declare namespace sequelize { * https://github.com/sequelize/sequelize/blob/master/docs/docs/models-usage.md#user-content-manipulating-the-dataset-with-limit-offset-order-and-group */ group?: string | string[] | Object; + + /** + * Apply DISTINCT(col) for FindAndCount(all) + */ + distinct?: boolean; } /**