mirror of
https://github.com/strapi/strapi.git
synced 2025-11-10 23:29:33 +00:00
Supporting NOT IN as a filter
This commit is contained in:
parent
5ed07cb27a
commit
ec0992b3b9
@ -1109,6 +1109,13 @@ module.exports = function(strapi) {
|
|||||||
symbol: 'IN',
|
symbol: 'IN',
|
||||||
value,
|
value,
|
||||||
};
|
};
|
||||||
|
break;
|
||||||
|
case '_nin':
|
||||||
|
result.key = `where.${key}`;
|
||||||
|
result.value = {
|
||||||
|
symbol: 'NOT IN',
|
||||||
|
value,
|
||||||
|
};
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
return undefined;
|
return undefined;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user