Merge pull request #9948 from Budibase/bug/sev2/is-in-filter-sql-id

Allow Is in for _id SQL
This commit is contained in:
Michael Drury 2023-03-10 12:18:59 +00:00 committed by GitHub
commit 38f197b325
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ export const getValidOperatorsForType = (type, field, datasource) => {
// Only allow equal/not equal for _id in SQL tables
if (field === "_id" && externalTable) {
ops = [Op.Equals, Op.NotEquals]
ops = [Op.Equals, Op.NotEquals, Op.In]
}
return ops