Allow Is in for _id SQL
This commit is contained in:
parent
d20724cec9
commit
467ef04078
|
@ -54,7 +54,7 @@ export const getValidOperatorsForType = (type, field, datasource) => {
|
||||||
|
|
||||||
// Only allow equal/not equal for _id in SQL tables
|
// Only allow equal/not equal for _id in SQL tables
|
||||||
if (field === "_id" && externalTable) {
|
if (field === "_id" && externalTable) {
|
||||||
ops = [Op.Equals, Op.NotEquals]
|
ops = [Op.Equals, Op.NotEquals, Op.In]
|
||||||
}
|
}
|
||||||
|
|
||||||
return ops
|
return ops
|
||||||
|
|
Loading…
Reference in New Issue