diff --git a/models/table.js b/models/table.js index 2fc1a58ca..db2118172 100644 --- a/models/table.js +++ b/models/table.js @@ -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;