Skip to content

Commit

Permalink
feat(distinct): add them to the options key
Browse files Browse the repository at this point in the history
  • Loading branch information
afontainec committed Aug 16, 2021
1 parent 76be8a1 commit 2d3f44a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/table.js
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 2d3f44a

Please sign in to comment.