summaryrefslogtreecommitdiff
path: root/jstests
diff options
context:
space:
mode:
authorAaron <aaron@10gen.com>2010-08-30 14:49:52 -0700
committerAaron <aaron@10gen.com>2010-08-30 14:49:52 -0700
commitefc06b3a6c456935a613c58dbcfe90ec7d9dfeed (patch)
tree4477aa783a60c04872149507aa8262a9512765ac /jstests
parented02fb1230025770d0a66c5a9c28534e553245fa (diff)
downloadmongo-efc06b3a6c456935a613c58dbcfe90ec7d9dfeed.tar.gz
SERVER-1212 deal with elemMatch later
Diffstat (limited to 'jstests')
-rw-r--r--jstests/not2.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/jstests/not2.js b/jstests/not2.js
index b504f1e832a..b588ebda8d9 100644
--- a/jstests/not2.js
+++ b/jstests/not2.js
@@ -138,5 +138,6 @@ not( {i:{$not:{$in:[1]}}} );
t.drop();
t.ensureIndex( {"i.j":1} );
indexed( {i:{$elemMatch:{j:1}}}, 1, 1 );
-indexed( {i:{$not:{$elemMatch:{j:1}}}}, {$minElement:1}, {$maxElement:1} );
+//indexed( {i:{$not:{$elemMatch:{j:1}}}}, {$minElement:1}, {$maxElement:1} );
+not( {i:{$not:{$elemMatch:{j:1}}}} );
indexed( {i:{$not:{$elemMatch:{j:{$ne:1}}}}}, 1, 1 );