diff options
author | Aaron <aaron@10gen.com> | 2009-04-06 14:11:32 -0400 |
---|---|---|
committer | Aaron <aaron@10gen.com> | 2009-04-06 14:11:32 -0400 |
commit | bf07afef73f75c126c86bc185008eff62e981d38 (patch) | |
tree | 5620d4fc0ce7cde1d0cd938af1f4138ed3d40bc3 /jstests/multi.js | |
parent | 0b73b8d3253547d1ae4937020a8ae196b040b770 (diff) | |
download | mongo-bf07afef73f75c126c86bc185008eff62e981d38.tar.gz |
back out KeyValJsMatcher, until we can fix it to handle multikey arrays correctly
Diffstat (limited to 'jstests/multi.js')
-rw-r--r-- | jstests/multi.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/jstests/multi.js b/jstests/multi.js new file mode 100644 index 00000000000..aec41145aa2 --- /dev/null +++ b/jstests/multi.js @@ -0,0 +1,6 @@ +t = db.jstests_multi; +t.drop(); + +t.ensureIndex( { a: 1 } ); +t.save( { a: [ 1, 2 ] } ); +assert.eq( 1, t.find( { a: { $gt: 0 } } ).count() ); |