mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 04:49:15 +08:00
Merge pull request #15787 from jpinkster/patch-1
Sequelize - FIX/Distinct in FindOptions
This commit is contained in:
6
types/sequelize/index.d.ts
vendored
6
types/sequelize/index.d.ts
vendored
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
5
types/sequelize/v3/index.d.ts
vendored
5
types/sequelize/v3/index.d.ts
vendored
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user