Skip to content

Commit

Permalink
Merge pull request #227 from afontainec/extract-distinct
Browse files Browse the repository at this point in the history
feat(distinct): add them to the options key
  • Loading branch information
afontainec committed Aug 16, 2021
2 parents 76be8a1 + 2d3f44a commit db9a4b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/table.js
Original file line number Diff line number Diff line change
Expand Up @@ -942,7 +942,7 @@ const ERROR_400_BY_CODE = {

};

const OPTIONS_KEYS = ['startDate', 'endDate', 'groupBy', 'orderBy', 'limit', 'offset', 'rawSelect', 'clearSelect', 'rawWhere', 'countDistinct'];
const OPTIONS_KEYS = ['startDate', 'endDate', 'groupBy', 'orderBy', 'limit', 'offset', 'rawSelect', 'clearSelect', 'rawWhere', 'countDistinct', 'distinctOn', 'distinct'];


module.exports = Table;

0 comments on commit db9a4b9

Please sign in to comment.