Merge pull request #15787 from jpinkster/patch-1

Sequelize - FIX/Distinct in FindOptions
This commit is contained in:
Ryan Cavanaugh
2017-04-17 13:57:54 -07:00
committed by GitHub
2 changed files with 11 additions and 0 deletions

View File

@@ -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;
}
/**

View File

@@ -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;
}
/**