Supporting NOT IN as a filter

This commit is contained in:
Sajjad Shirazy 2019-02-02 16:28:46 +03:30 committed by GitHub
parent 5ed07cb27a
commit 553a31c85a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -567,6 +567,10 @@ module.exports = function (strapi) {
result.key = `where.${key}.$in`;
result.value = value;
break;
case '_nin':
result.key = `where.${key}.$nin`;
result.value = value;
break;
default:
result = undefined;
}