Allow Is in for _id SQL
This commit is contained in:
parent
d20724cec9
commit
467ef04078
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue