The direct find query for an array works well by translating to 'IN', how can I go about negating the output i.e. 'NOT IN'
user.find({id: idArr}, function(err, users){
}):
I checked the orm.ne() method but it gives result only for single value and not in case of an array, if it is modified to support arrays then it will solve the problem. Let me know if any other solution can solve the issue. Thanks!
The direct find query for an array works well by translating to 'IN', how can I go about negating the output i.e. 'NOT IN'
I checked the orm.ne() method but it gives result only for single value and not in case of an array, if it is modified to support arrays then it will solve the problem. Let me know if any other solution can solve the issue. Thanks!