1
0
Fork 0
mirror of synced 2024-08-14 17:42:01 +12:00

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

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