From 2d3f44a54573b8eb064615215077775ebabf5e24 Mon Sep 17 00:00:00 2001 From: afontainec Date: Mon, 16 Aug 2021 12:43:27 -0400 Subject: [PATCH] feat(distinct): add them to the options key --- models/table.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;